• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Test for valid URL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Test for valid URL?


  • Subject: Re: Test for valid URL?
  • From: Michael Grant <email@hidden>
  • Date: Fri, 17 Sep 2010 22:50:38 -0500

On Fri, Sep 17, 2010 at 10:14 PM, Doug McNutt <email@hidden> wrote:
> At 20:44 -0500 9/17/10, Michael Grant wrote:
>>curl some random text
>>
>>in my Terminal on 10.6.4 produces no result - it just chews on it for
>>a few seconds, then displays a new prompt.
>
> That is really screwy.
>
> try curl -v some random text

Here's what I get then:

* About to connect() to some port 80 (#0)
*   Trying 67.215.65.132... connected
* Connected to some (67.215.65.132) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: some
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 302 Found
< Location: http://guide.opendns.com/?url=some
< Content-type: text/html
< Connection: close
< Date: Sat, 18 Sep 2010 03:46:17 GMT
< Server: OpenDNS Guide
<
* Closing connection #0
* About to connect() to random port 80 (#0)
*   Trying 67.215.65.132... connected
* Connected to random (67.215.65.132) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: random
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 302 Found
< Location: http://guide.opendns.com/?url=random
< Content-type: text/html
< Connection: close
< Date: Sat, 18 Sep 2010 03:46:17 GMT
< Server: OpenDNS Guide
<
* Closing connection #0
* About to connect() to text port 80 (#0)
*   Trying 67.215.65.132... connected
* Connected to text (67.215.65.132) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: text
> Accept: */*
>
* HTTP 1.0, assume close after body
< HTTP/1.0 302 Found
< Location: http://guide.opendns.com/?url=text
< Content-type: text/html
< Connection: close
< Date: Sat, 18 Sep 2010 03:46:18 GMT
< Server: OpenDNS Guide
<
* Closing connection #0


Michael


--
There's really no such thing as translating. It's all a scam. We
basically just make stuff up and try to make it sound plausible.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Test for valid URL?
      • From: Doug McNutt <email@hidden>
References: 
 >Test for valid URL? (From: Michael Grant <email@hidden>)
 >Re: Test for valid URL? (From: Steve Thompson <email@hidden>)
 >Re: Test for valid URL? (From: Michael Grant <email@hidden>)
 >Re: Test for valid URL? (From: Thomas Fischer <email@hidden>)
 >Re: Test for valid URL? (From: Michael Grant <email@hidden>)

  • Prev by Date: Re: Test for valid URL?
  • Next by Date: Re: Test for valid URL?
  • Previous by thread: Re: Test for valid URL?
  • Next by thread: Re: Test for valid URL?
  • Index(es):
    • Date
    • Thread