You are here: Foswiki>Tasks Web>Item923 (23 Feb 2009, KennethLavrsen)Edit Attach

Item923: Adding two new fields to the default response header: Action and URI. read Development.ExtraResponseHeaderFields for details

pencil
Priority: Normal
Current State: Closed
Released In: 1.0.1
Target Release: patch
Applies To: Engine
Component: core
Branches:
Reported By: EugenMayer
Waiting For: EugenMayer
Last Change By: KennethLavrsen
Adding to new fields to the default response header: Action and URI. read Development.ExtraResponseHeaderFields for details.

If have using this patch for over 2 weeks now and did not face any issues ( even though i did a lot of header research and work trough that time ). Its RFC compliant and actually iam not expected anyone who is not using it recognising any changes.

--

changed the order, where the header is set, because this would confuse a rest-handler, which returns his on page ( header are set after content ). No i set the header before, so they get overwritten if needed

Well opening new bug request.

-- EugenMayer - 03 Feb 2009

If the goal is to have these headers sent always (even for rest handlers), you put them in the right place. I changed the call from header to pushHeader cause the former is similar to CGI::header (it adjusts lots of headers) and it's not necessary.

-- GilmarSantosJr - 04 Feb 2009

ItemTemplate edit

Summary Adding two new fields to the default response header: Action and URI. read Development.ExtraResponseHeaderFields for details
ReportedBy EugenMayer
Codebase trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component core
Priority Normal
CurrentState Closed
WaitingFor EugenMayer
Checkins distro:d20b0b54239e distro:716472625863 distro:9aeb418a2c08 distro:38b348bd994d
TargetRelease patch
ReleasedIn 1.0.1
Topic revision: r14 - 23 Feb 2009, KennethLavrsen
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy