[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] <meta http-equiv="refresh" content="0; url=http://go
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] <meta http-equiv="refresh" content="0; url=http://google.com/"> not working |
Date: |
Tue, 18 Feb 2014 12:31:15 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 |
Did you add a header to set the content type to html? Otherwise the
browser may interpret the response as text, and ignore the HTML directive.
My 2 cents
Christian
On 02/18/2014 12:12 PM, Perry Couprie wrote:
> Hi,
>
> When i create test.html under apache with the following content.
>
> <meta http-equiv="refresh" content="0; url=http://google.com/">
>
> Under chrome and firefox this redirect works, but when i try to send it
> using libmicrohttp.
>
> Chrome wil just display the content and wil nog be redirected to google.
>
> Ik have looked at the documentation and googled for an answer.
>
> Why does this not work and how do i get it to work ?
>
> Perry (Greeting from Amsterdam, Netherlands).
>
>
>
0x48426C7E.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature