Bug #2433

httpReq hangs on Reading data until EOF if method is DELETE and server reports HTTP/1.1 204 No Content

Added by Leonid Protasov over 6 years ago. Updated over 6 years ago.

Status:FixedStart date:12/29/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:API
Target version:4.8
Found in version:4.7.581 Platform:Linux

Description

HTTP            [DEBUG]: Reusing connection to www.googleapis.com:443 (id=11)
HTTP            [DEBUG]: > DELETE /youtube/v3/subscriptions?id=bzZa8bZxwD6Rt0JnIlNJ6-ZZNo3R526NFfNT_FpC5rY&regionCode=UA&key=AIzaSyCSDI9_w8ROa1UoE2CNIUdDQnUhNbp9XR4&maxResults=50 HTTP/1.1
HTTP            [DEBUG]: > Authorization: Bearer ya29.6wA7A6KNTykr-MO2if9vBH-g2m33ER30d2BmhCluSxjpISeSfzSA0tNJ8AOUiZZPKranDW7R4dOL0Q
HTTP            [DEBUG]: > User-Agent: Showtime Linux/x86_64 4.7.581.gff77d
HTTP            [DEBUG]: > Connection: keep-alive
HTTP            [DEBUG]: > Accept: */*
HTTP            [DEBUG]: > Accept-Encoding: identity
HTTP            [DEBUG]: > Host: www.googleapis.com
HTTP            [DEBUG]: https://www.googleapis.com/youtube/v3/subscriptions: Response:
HTTP            [DEBUG]: < HTTP/1.1 204 No Content
HTTP            [DEBUG]: < Cache-Control: no-cache, no-store, max-age=0, must-revalidate
HTTP            [DEBUG]: < Pragma: no-cache
HTTP            [DEBUG]: < Expires: Fri, 01 Jan 1990 00:00:00 GMT
HTTP            [DEBUG]: < Date: Mon, 29 Dec 2014 11:53:24 GMT
HTTP            [DEBUG]: < ETag: "F9iA7pnxqNgrkOutjQAa9F2k8HY/7G2y8xeWVq9-yxUrvlxhacuUx5E" 
HTTP            [DEBUG]: < Vary: Origin
HTTP            [DEBUG]: < Vary: X-Origin
HTTP            [DEBUG]: < Server: GSE
HTTP            [DEBUG]: < Alternate-Protocol: 443:quic,p=0.02
HTTP            [DEBUG]: < 
HTTP            [DEBUG]: Reading data until EOF

Associated revisions

Revision dec79362
Added by Andreas Smas over 6 years ago

httpclient: Correctly handle '204 No Content' status

Fixes #2433

Change included in version 4.7.585

History

#1 Updated by Andreas Smas over 6 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF