If you're ever in San Francisco, beer is on me:)

On Thu, Feb 20, 2014 at 2:50 PM, Baptiste <[email protected]> wrote:

> So you now owe Cyril a beer!!!!
> (at least)
>
> Baptiste
>
> On Thu, Feb 20, 2014 at 11:06 PM, Steve Phillips <[email protected]> wrote:
> > That worked!  Thank you so much for your help!!!!  I've been working on
> this
> > off and on for a couple weeks.
> >
> > Steve
> >
> >
> > On Thu, Feb 20, 2014 at 1:00 PM, Cyril Bonté <[email protected]>
> wrote:
> >>
> >> Hi,
> >>
> >> Le 20/02/2014 21:56, Steve Phillips a écrit :
> >>
> >>> That's corrrect, I want to talk https to the maps API.  Thanks for the
> >>> response.  Added ssl keyword and tried adding verify none as well but
> >>> now get a 404 back from google.  The URL is valid as I'm testing with
> >>> curl on my haproxy host:
> >>>
> >>> curl -I
> >>>
> >>>
> https://maps.googleapis.com/maps/api/place/autocomplete/json?input=san%20d&sensor=false&key=AIzaSyCM5UZ5jM2FkMkFFSWpwvAR92ZtmADUIOo
> >>>
> >>> HTTP/1.1 200 OK
> >>> Content-Type: application/json; charset=UTF-8
> >>> Date: Thu, 20 Feb 2014 20:53:05 GMT
> >>> Pragma: no-cache
> >>> Expires: Fri, 01 Jan 1990 00:00:00 GMT
> >>> Cache-Control: no-cache, must-revalidate
> >>> Vary: Accept-Language
> >>> Server: mafe
> >>> X-XSS-Protection: 1; mode=block
> >>> X-Frame-Options: SAMEORIGIN
> >>> Alternate-Protocol: 443:quic
> >>> Transfer-Encoding: chunked
> >>>
> >>> curl -I
> >>>
> >>>
> http://localhost:80/maps/api/place/autocomplete/json?input=san%20d&sensor=false&key=AIzaSyCM5UZ5jM2FkMkFFSWpwvAR92ZtmADUIOo
> >>>
> >>> HTTP/1.1 404 Not Found
> >>> Content-Type: text/html; charset=UTF-8
> >>> Content-Length: 1457
> >>> Date: Thu, 20 Feb 2014 20:52:53 GMT
> >>> Server: GFE/2.0
> >>
> >>
> >> Of course, if you requests localhost, you'll have to modify the Host
> >> header sent to the distant server.
> >>
> >> For example, with :
> >> http-request set-header Host maps.googleapis.com
> >>
> >> Otherwise googleapis receives "Host: localhost".
> >>
> >> --
> >> Cyril Bonté
> >
> >
>

Reply via email to