This is my draft of a header classes for ez publish.

It might be of help.


Best regards,
Björn Dieding

-----------------------------------------------
Björn Dieding | Executive Director
xrow GmbH
Enterprise Content Management

Am Lindener Berge 22
30449 Hannover

Phone: +49 (511) 473 91 54 01
Mobile: +49 (151) 12169868
Skype: bjoerndieding
Email: bjo...@xrow.de
Web: http://www.xrow.com
Phone (general office): +49 (511) 473 91 54 00

CEO: Björn Dieding, Sören Meyer
TIN: DE257265797 HRB: Hannover 202464
-----------------------------------------------

Disclaimer: This electronic transmission is strictly confidential and intended 
solely for the addressee.  If you are not the intended addressee, you must not 
disclose, copy or take any action in reliance of this transmission.  If you 
have received this transmission in error it would be helpful if you could 
notify xrow GmbH as soon as possible.

-----Ursprüngliche Nachricht-----
Von: components-boun...@lists.ez.no [mailto:components-boun...@lists.ez.no] Im 
Auftrag von Hans Melis
Gesendet: Montag, 15. Dezember 2008 16:53
An: components@lists.ez.no
Betreff: [Components] [MvcTools] Sending HTTP status codes

Hello list,

I'm rewriting my application to use the new MvcTools component (ezc
2008.2rc1) and the conversion went pretty flawless. I also discovered
the createFatalRedirectRequest() method in the documentation and decided
to give it a go.

The redirecting (well, actually forwarding) works fine, but I can't
figure out how I can send HTTP status codes as part of the response.

Example: Someone types an URL for which no route exists. The request is
passed on to the fatal handler and I would like to add a 404 to the
response instead of the 200 (because 200 says everything's OK).

Is there some way to accomplish this?


Regards,
Hans
-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Attachment: HTTPHEADER.diff
Description: HTTPHEADER.diff

-- 
Components mailing list
Components@lists.ez.no
http://lists.ez.no/mailman/listinfo/components

Reply via email to