9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "James A. Robinson" <jimr@highwire.org>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] plan9.bell-labs.com hates AppleWebKit?
Date: Sun,  2 Oct 2016 17:42:14 +0000	[thread overview]
Message-ID: <CAPd04b6bXQ7+viANDxbqei9HASYk3v6kazBw4k7uaBq2Wb6uXQ@mail.gmail.com> (raw)
In-Reply-To: <CAPd04b5=3e06cyU_0ko2=GBOwSu1zGu0N1cG5Dpmka5Rofeaaw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1699 bytes --]

So... Does Alcatel-Lucent have a problem with AppleWebKit
users on principle?

It looks to me as though my problem with browsing around
under http://plan9.bell-labs.com/sources/ (and other subpages)
is because the server doesn't like the User-Agent string:

$ telnet plan9.bell-labs.com 80
Trying 135.104.24.16...
Connected to plan9.bell-labs.com.
Escape character is '^]'.
GET /sources/contrib/ HTTP/1.1
Host: plan9.bell-labs.com
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
DNT: 1
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8

HTTP/1.1 200 OK
Connection closed by foreign host.

And here it is again w/o the User-Agent string:

$ telnet plan9.bell-labs.com 80
Trying 135.104.24.16...
Connected to plan9.bell-labs.com.
Escape character is '^]'.
GET /sources/contrib/ HTTP/1.1
Host: plan9.bell-labs.com
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
DNT: 1
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-US,en;q=0.8

HTTP/1.1 200 OK
Server: Plan9
Date: Sun, 02 Oct 2016 17:29:09 GMT
Connection: close
Last-Modified: Fri, 14 Mar 2014 22:14:11 GMT
Content-Type: text/html

[... proper body returned...]

I tried playing around with the UA value and found that if I change
AppleWebKit to something else such as AppleWebKis I get a
response...

Jim

[-- Attachment #2: Type: text/html, Size: 2179 bytes --]

  reply	other threads:[~2016-10-02 17:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-29  7:15 [9fans] Question re source trees James A. Robinson
2016-09-29  8:08 ` Richard Miller
2016-09-29  8:12   ` Kurt H Maier
2016-09-29 10:54     ` Richard Miller
2016-10-28 21:30       ` Kurt H Maier
2016-09-29 11:55   ` Ole-Hjalmar Kristensen
2016-09-29 13:22   ` James A. Robinson
2016-10-02 17:42     ` James A. Robinson [this message]
2016-10-03  2:01       ` [9fans] plan9.bell-labs.com hates AppleWebKit? sl
2016-10-04 12:59       ` arisawa
2016-10-05 19:01         ` Sergey Zhilkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPd04b6bXQ7+viANDxbqei9HASYk3v6kazBw4k7uaBq2Wb6uXQ@mail.gmail.com \
    --to=jimr@highwire.org \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).