Skip to content

Commit

Permalink
UPnP: Make case of HTTP headers more standard
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzi2p committed Nov 29, 2023
1 parent 5399aa4 commit c7e46ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions router/java/src/org/cybergarage/http/HTTP.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class HTTP
// Constants
////////////////////////////////////////////////

public static final String HOST = "HOST";
public static final String HOST = "Host";

public static final String VERSION = "1.1";
public static final String VERSION_10 = "1.0";
Expand All @@ -49,7 +49,7 @@ public class HTTP
public static final byte LF = '\n';
public static final String TAB = "\t";

public static final String SOAP_ACTION = "SOAPACTION";
public static final String SOAP_ACTION = "SOAPAction";

public static final String M_SEARCH = "M-SEARCH";
public static final String NOTIFY = "NOTIFY";
Expand Down
2 changes: 1 addition & 1 deletion router/java/src/org/cybergarage/soap/SOAPRequest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

public class SOAPRequest extends HTTPRequest
{
private final static String SOAPACTION = "SOAPACTION";
private final static String SOAPACTION = HTTP.SOAP_ACTION;

////////////////////////////////////////////////
// Constructor
Expand Down

0 comments on commit c7e46ca

Please sign in to comment.