6.0.0-beta1
9/3/25

[#12235] Empty Expect-Header results in 417-Error using Squid
Summary Empty Expect-Header results in 417-Error using Squid
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester dire (at) fa (dot) uni-tuebingen (dot) de
Created 05/03/2013 (4506 days ago)
Due
Updated 05/06/2013 (4503 days ago)
Assigned 05/04/2013 (4505 days ago)
Resolved 05/06/2013 (4503 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/06/2013 08:31:56 PM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit 5ea3b6777f1ac36ff7245f70023aba307bc1c210
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Mon May 6 16:28:39 2013 -0400

     Disable the Expect header for Curl unless it's explicitly set.

     Bug: 12235

  framework/Http/lib/Horde/Http/Request/Curl.php |    7 ++++++-
  1 files changed, 6 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/5ea3b6777f1ac36ff7245f70023aba307bc1c210
05/06/2013 07:20:08 PM dire (at) fa (dot) uni-tuebingen (dot) de Comment #5 Reply to this comment
What HTTP client are you using (Pecl_Http, fopen, or Curl)?
In my case fopen is used by kronolith. Is this changeable?
05/06/2013 04:49:29 PM Michael Rubinsky Comment #4 Reply to this comment
What HTTP client are you using (Pecl_Http, fopen, or Curl)?
05/06/2013 04:27:43 PM Michael Rubinsky Comment #3 Reply to this comment
Great. So even though we are not sending any actual expectations, 
Squid is telling us that it can't meet the expectation. Wonderful.
05/04/2013 09:28:16 AM Jan Schneider Version ⇒ Git master
Queue ⇒ Horde Framework Packages
 
05/04/2013 09:27:59 AM Jan Schneider Comment #2
State ⇒ Assigned
Assigned to Michael Rubinsky
Reply to this comment
05/03/2013 02:36:34 PM dire (at) fa (dot) uni-tuebingen (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Empty Expect-Header results in 417-Error using Squid
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I discovered a problem as I wanted to add an external calendar from a 
server which is behind a Squid Proxy:
Horde sends an empty Expect-Header and Squid rejects this with an 417 Error.
As I removed the Expect-Header in 
/usr/share/php/Horde/Core/Factory/HttpClient.php it worked, but I 
don't know if the header is required somewhere else.

Saved Queries