6.0.0-git
2019-03-21

[#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 2013-05-03 (2148 days ago)
Due
Updated 2013-05-06 (2145 days ago)
Assigned 2013-05-04 (2147 days ago)
Resolved 2013-05-06 (2145 days ago)
Milestone
Patch No

History
2013-05-06 20:31:56 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
2013-05-06 19:20:08 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?
2013-05-06 16:49:29 Michael Rubinsky Comment #4 Reply to this comment
What HTTP client are you using (Pecl_Http, fopen, or Curl)?
2013-05-06 16:27:43 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.
2013-05-04 09:28:16 Jan Schneider Version ⇒ Git master
Queue ⇒ Horde Framework Packages
 
2013-05-04 09:27:59 Jan Schneider Comment #2
Assigned to Michael Rubinsky
State ⇒ Assigned
Reply to this comment
2013-05-03 14:36:34 dire (at) fa (dot) uni-tuebingen (dot) de Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ Empty Expect-Header results in 417-Error using Squid
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
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