summaryrefslogtreecommitdiffstats
path: root/netwerk/protocol/http/nsHttpRequestHead.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-27 09:07:52 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-27 09:07:52 +0200
commit314fb761d144b160d3aeb72840c89e31c4f21a4a (patch)
tree0794190c7b9f541b3dced0b1f6b15979f447e3e5 /netwerk/protocol/http/nsHttpRequestHead.h
parentfbaab39c94a047f2a0b0bfbe6cf24a790cd7e8b5 (diff)
parent2b9e0ca0bbea04fca6e0fd5079877d355f27c9b6 (diff)
downloadUXP-314fb761d144b160d3aeb72840c89e31c4f21a4a.tar
UXP-314fb761d144b160d3aeb72840c89e31c4f21a4a.tar.gz
UXP-314fb761d144b160d3aeb72840c89e31c4f21a4a.tar.lz
UXP-314fb761d144b160d3aeb72840c89e31c4f21a4a.tar.xz
UXP-314fb761d144b160d3aeb72840c89e31c4f21a4a.zip
Merge branch 'master' into Basilisk-releasev2018.09.27
Diffstat (limited to 'netwerk/protocol/http/nsHttpRequestHead.h')
-rw-r--r--netwerk/protocol/http/nsHttpRequestHead.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/netwerk/protocol/http/nsHttpRequestHead.h b/netwerk/protocol/http/nsHttpRequestHead.h
index 415968083..b7020d33a 100644
--- a/netwerk/protocol/http/nsHttpRequestHead.h
+++ b/netwerk/protocol/http/nsHttpRequestHead.h
@@ -57,10 +57,12 @@ public:
int32_t port);
void Origin(nsACString &aOrigin);
+ nsresult SetHeader(const nsACString &h, const nsACString &v,
+ bool m=false);
nsresult SetHeader(nsHttpAtom h, const nsACString &v, bool m=false);
nsresult SetHeader(nsHttpAtom h, const nsACString &v, bool m,
nsHttpHeaderArray::HeaderVariety variety);
- nsresult SetEmptyHeader(nsHttpAtom h);
+ nsresult SetEmptyHeader(const nsACString &h);
nsresult GetHeader(nsHttpAtom h, nsACString &v);
nsresult ClearHeader(nsHttpAtom h);