We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eda6ae commit 04e3ee6Copy full SHA for 04e3ee6
1 file changed
source/HttpCommand.dyalog
@@ -53,7 +53,7 @@
53
∇ r←Version
54
⍝ Return the current version
55
:Access public shared
56
- r←'HttpCommand' '5.1.4' '2022-09-24'
+ r←'HttpCommand' '5.1.5' '2022-09-26'
57
∇
58
59
∇ make
@@ -681,7 +681,7 @@
681
r.(HttpVersion HttpStatus HttpMessage Headers)←4↑dat
682
r.HttpStatus←toInt r.HttpStatus
683
datalen←⊃toInt{0∊⍴⍵:'¯1' ⋄ ⍵}r.GetHeader'Content-Length' ⍝ ¯1 if no content length not specified
684
- done←(cmd≡'HEAD')∨0=datalen
+ done←(cmd≡'HEAD')∨(0=datalen)∨204=r.HttpStatus
685
→∆END⍴⍨forceClose←r CheckPayloadSize datalen ⍝ we have a payload size limit
686
:EndIf
687
:CaseList 'HTTPBody' 'BlkLast' ⍝ BlkLast included for pre-Conga v3.4 compatibility for RFC7230 (Sec 3.3.3 item 7)
0 commit comments