mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-11 20:21:03 +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()) {
|
||||
case "CONTENT-TYPE":
|
||||
console.warn("Will be forget the previous CONTENT-TYPE");
|
||||
this.setContentType(value.toLowerCase());
|
||||
break;
|
||||
case "COOKIE":
|
||||
console.warn("Will be forget the previous COOKIE");
|
||||
this.setCookie(value);
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue
Block a user