mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-16 06:31:04 +00:00
Update http.js
This commit is contained in:
parent
d5d5971ff1
commit
5e83f7180e
|
@ -181,9 +181,11 @@ var HTTPObject = function(engine) {
|
||||||
|
|
||||||
switch (key.toUpperCase()) {
|
switch (key.toUpperCase()) {
|
||||||
case "CONTENT-TYPE":
|
case "CONTENT-TYPE":
|
||||||
|
console.warn("Will be forget the previous CONTENT-TYPE");
|
||||||
this.setContentType(value.toLowerCase());
|
this.setContentType(value.toLowerCase());
|
||||||
break;
|
break;
|
||||||
case "COOKIE":
|
case "COOKIE":
|
||||||
|
console.warn("Will be forget the previous COOKIE");
|
||||||
this.setCookie(value);
|
this.setCookie(value);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user