Sanity-check the method passed into ActiveHTTP.

Reported by Pierre Gaulon.
This commit is contained in:
Robin Sommer 2021-09-17 12:23:33 +02:00
parent ce143d78b0
commit 47c35190a4
3 changed files with 18 additions and 6 deletions

View file

@ -1,4 +1,5 @@
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
[Content-type] = text/plain
[Content-type] = text/plain
[Date] = July 22, 2013,
@ -7,5 +8,7 @@
[Server] = 1.0,
test1, [code=200, msg=OK\x0d, body=It works!, headers={
test2, [code=200, msg=OK\x0d, body=, headers={
test3, [code=0, msg=, body=, headers={
}]
}]
}]