Re: handling HTTP redirects

From: Laurent Bourgès <Laurent.Bourges-at-obspm.fr>
Date: Thu, 5 Jun 2008 11:21:19 +0200


Hi all,

I just want to inform you about technical details.

A reference implementation of HTTP 1.1 is available for the java environment thanks to apache.org (so, open source) :

        Apache commons Http Client 3.1         

        http://hc.apache.org/httpclient-3.x/

        (in near future : Http Client 4.0 will be released as a release candidate ...)

This library is able to handle properly (tested in several projects) :

 From apache docs :

Features

Standards Compliance

HttpClient implements the following specifications endorsed by the Internet Engineering Task Force (IETF) and the internet at large:

Enjoy,
Good morning or afternoon,

Laurent

Le 4 juin 08 à 19:49, Roy Williams a écrit :

> Sebastien
>
> Of course the Vizier people can use redirects if they want, it is  
> quite legal. It is also legal to make a cone search which never  
> returns more than three sources, or one that returns an error for  
> every possible request.
>
> I have done a rough timing test of Vizier cone searches, and I find  
> that the redirect costs about 0.5 seconds per cone search. In other  
> words, a Vizier service will be quite a bit faster if you simply  
> replace up front the string "vizier" with "webviz" in all the  
> accessURLs that you get from the registry. Since Vim runs hundreds  
> of cone searches at a time, this is what I have chosen to do, to  
> save a few minutes of my customer's valuable time.
>
> Roy
>
> -- 
>
> California Institute of Technology
> 626 395 3670
>

------------------------------------------------------------------------ 
-
  Laurent Bourgès, engineer
  EURO-VO-DCA Project
  LUTh, Observatoire de Paris-Meudon
  5 place Jules Janssen
  F-92 195 Meudon Cedex
Tel : 01 45 07 74 25
  Email: Laurent.Bourges-at-obspm.fr

- Received on 2008-06-05Z11:23:55