Issue: SPR-11241
This commit is contained in:
Rossen Stoyanchev 2013-12-17 08:26:50 -05:00
parent 2a3ca619f9
commit ff92f5af57
1 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ public class HttpHeaders implements MultiValueMap<String, String>, Serializable
private static final String PRAGMA = "Pragma"; private static final String PRAGMA = "Pragma";
private static final String UPGARDE = "Upgrade"; private static final String UPGRADE = "Upgrade";
private static final String[] DATE_FORMATS = new String[] { private static final String[] DATE_FORMATS = new String[] {
@ -547,7 +547,7 @@ public class HttpHeaders implements MultiValueMap<String, String>, Serializable
* @param upgrade the value of the header * @param upgrade the value of the header
*/ */
public void setUpgrade(String upgrade) { public void setUpgrade(String upgrade) {
set(UPGARDE, upgrade); set(UPGRADE, upgrade);
} }
/** /**
@ -555,7 +555,7 @@ public class HttpHeaders implements MultiValueMap<String, String>, Serializable
* @return the value of the header * @return the value of the header
*/ */
public String getUpgrade() { public String getUpgrade() {
return getFirst(UPGARDE); return getFirst(UPGRADE);
} }
// Date methods // Date methods