git.99rst.org
/
znc-palaver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
fefc32b
)
RFC doesn't specify that HTTP GET cannot have a body
author
Kyle Fuller
<redacted>
Fri, 10 Apr 2015 19:28:25 +0000
(20:28 +0100)
committer
Kyle Fuller
<redacted>
Mon, 10 Aug 2015 21:10:00 +0000
(22:10 +0100)
palaver.cpp
patch
|
blob
|
history
diff --git
a/palaver.cpp
b/palaver.cpp
index 20a692d576c451634e382f5cdce0df926cc9c22d..4c2e5ffa0da85592e44c53b1192a49127368303a 100644
(file)
--- a/
palaver.cpp
+++ b/
palaver.cpp
@@
-98,7
+98,7
@@
public:
mcsHeaders["Connection"] = "close";
mcsHeaders["User-Agent"] = "ZNC";
- if (sMethod.Equals("GET") == false) {
+ if (sMethod.Equals("GET") == false
|| sContent.length() > 0
) {
mcsHeaders["Content-Length"] = CString(sContent.length());
}
git clone https://git.99rst.org/PROJECT