Skip to content

Commit 04e3ee6

Browse files
committed
v5.1.5 - Early exit on 204 (no content) status
1 parent 2eda6ae commit 04e3ee6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/HttpCommand.dyalog

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
rVersion
5454
Return the current version
5555
:Access public shared
56-
r'HttpCommand' '5.1.4' '2022-09-24'
56+
r'HttpCommand' '5.1.5' '2022-09-26'
5757
5858

5959
make
@@ -681,7 +681,7 @@
681681
r.(HttpVersion HttpStatus HttpMessage Headers)4dat
682682
r.HttpStatustoInt r.HttpStatus
683683
datalentoInt{0:'¯1' }r.GetHeader'Content-Length' ¯1 if no content length not specified
684-
done(cmd'HEAD')0=datalen
684+
done(cmd'HEAD')(0=datalen)204=r.HttpStatus
685685
∆ENDforceCloser CheckPayloadSize datalen we have a payload size limit
686686
:EndIf
687687
:CaseList 'HTTPBody' 'BlkLast' BlkLast included for pre-Conga v3.4 compatibility for RFC7230 (Sec 3.3.3 item 7)

0 commit comments

Comments
 (0)