PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Noms de domaine > comp.protocols.tcp-ip > Check URL availability
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.protocols.tcp-ip TCP and IP network protocols.

Check URL availability

Réponse
 
LinkBack Outils de la discussion
Vieux 03/11/2006, 11h43   #1
David at Alcatel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Check URL availability

How does one use HTTP to check whether a URL actually is going to hit
something, or if it is instead going nowhere, without downloading the
whole result of the hit?

  Réponse avec citation
Vieux 03/11/2006, 16h25   #2
Walter Roberson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Check URL availability

In article <1162554234.812496.15710@e3g2000cwe.googlegroups.c om>,
David at Alcatel <David.Hiskiyahu@alcatel.be> wrote:
>How does one use HTTP to check whether a URL actually is going to hit
>something, or if it is instead going nowhere, without downloading the
>whole result of the hit?


RFC 2616
The metainformation contained in the HTTP headers in response to a
HEAD request SHOULD be identical to the information sent in
response to a GET request. ...

  Réponse avec citation
Vieux 07/11/2006, 08h46   #3
David at Alcatel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Check URL availability

Walter,

I guess that this means that there is no way to 'sniff' a URL without
biting it, right?

Walter Roberson wrote:
> RFC 2616
> The metainformation contained in the HTTP headers in response to a
> HEAD request SHOULD be identical to the information sent in
> response to a GET request. ...


  Réponse avec citation
Vieux 07/11/2006, 16h04   #4
Walter Roberson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Check URL availability

In article <1162889201.480134.243710@f16g2000cwb.googlegroups .com>,
David at Alcatel <David.Hiskiyahu@alcatel.be> top-posted, now fixed:

>Walter,


Please do not top-post: it makes it difficult to develop a choerent
discussion.


>Walter Roberson wrote:
>> RFC 2616
>> The metainformation contained in the HTTP headers in response to a
>> HEAD request SHOULD be identical to the information sent in
>> response to a GET request. ...



>I guess that this means that there is no way to 'sniff' a URL without
>biting it, right?


Your original question was about finding out whether the query was
going to go anywhere, without having to download the whole thing. The
answer to that is that was that HEAD instead of GET should tell you that
unless they cheat on the protocol.

Now you appear to be asking whether there is a way to check the
validity of a URL without contacting the server. The answer to that is
NO. Even if the URL does not include a ? query (i.e., an obvious
dynamic component), the URL details might include portions which
were dynamically generated, either naturally (e.g., a date on dated
material that naturally expires such as CNN), or artificially for tracking
or advertising purposes.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 10h02.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,17995 seconds with 12 queries