tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Schöbel <...@outvert.com>
Subject Re: -httpresponse not working for me ...
Date Sat, 28 Apr 2007 23:17:38 GMT
I have the same problem with a 302 response.

All other headers are set correctly, but I always receive
HTTP/1.1 200 OK

Code snippet:
    web::log redir.debug [web::response -httpresponse]
    web::response -httpresponse {HTTP/1.0 302 MOVED TEMPORARILY}
    web::log redir.debug [web::response -httpresponse]
Log file:
04/29/07 00:44:45 [2784] redir.debug:
04/29/07 00:44:45 [2784] redir.debug: HTTP/1.0 302 MOVED TEMPORARILY

websh 3.6.0b4, Apache 2.2.4,
Linux 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006 i686 i686 i386 
GNU/Linux

Ulrich


On Saturday 31 March 2007 08:12, Jason Murray wrote:
> I have tried various things
>
> web::response -httpresponse "HTTP/1.1 303 See Other"
>
> And
>
> web::response -httpresponse 303
>
> among others ...
>
> The response header in ethereal is:
> --------------------------------------------------------------------------
> HTTP/1.1 200 OK
> Date: Sat, 31 Mar 2007 05:38:28 GMT
> Server: Apache/2.2.3 (Fedora)
> Retry-After: 5
> Location:
> http://?????????.com/index.ws3?XDxJ7kkLRVB75HbwNdRbDXgh1aPRGsbOrjov97PI3eRU
>jXf85roW3SGgmgqwhldVGg315GrPUcYXYI7jSSOa6VvJALfgFil Generator: websh 3.6.0b4
> Content-Length: 84
> Connection: close
> Content-Type: text/html; charset=UTF-8
> --------------------------------------------------------------------------
>
> What am doing wrong. The other web::response subcommands and options seem
> to work...
>
> Jason M

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org


Mime
View raw message