properly terminate headers

head-request
Zlatin Balevsky 2021-05-24 11:50:50 +01:00
parent ce787a6f99
commit a584f16ce4
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class HeadSession {
os.write("X-Persona: $meB64\r\n".getBytes(StandardCharsets.US_ASCII))
SessionSupport.writeInteractionHeaders(os, browse, chat, feed, message)
SessionSupport.writeXHave(os, pieces)
os.write("\r\n".getBytes(StandardCharsets.US_ASCII))
os.flush()
InputStream is = endpoint.getInputStream()