Account Options

  1. Sign in
Google Groups Home
« Groups Home
url construction for signature base string underspecified?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dirk Balfanz  
View profile  
 More options Mar 28 2008, 2:37 pm
From: "Dirk Balfanz" <dirk.balf...@gmail.com>
Date: Fri, 28 Mar 2008 11:37:47 -0700
Local: Fri, Mar 28 2008 2:37 pm
Subject: url construction for signature base string underspecified?
Hi guys,

so I'm trying to figure out how to normalize the URL part of the
signature base string. The spec (section 9.1.2), strangely, says that
the port MUST be included, but the "http default port 80 and https
default port 443 MUST be excluded". There is also an example:

HTTP://Example.com:80 maps to http://example.com
Presumably, something like http://example.com:1234 would map to
http://example.com:1234

Here is my question: what should https://example.com:80 and
http://example.com:443 map to? In other words, is the language in
Section 9.1.2 supposed to mean that the port is to be removed if it
happens to be the standard port for the protocol specified? Or are
ports 80 and 443 to be removed no matter what?

Confused,

Dirk.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eran Hammer-Lahav  
View profile  
 More options Mar 28 2008, 2:44 pm
From: Eran Hammer-Lahav <e...@hueniverse.com>
Date: Fri, 28 Mar 2008 14:44:34 -0400
Local: Fri, Mar 28 2008 2:44 pm
Subject: RE: [oauth] url construction for signature base string underspecified?
https://example.com:80 and http://example.com:443 stay just like that. You only drop 80 for http and 443 for https.

EHL


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dirk Balfanz  
View profile  
 More options Mar 28 2008, 2:49 pm
From: "Dirk Balfanz" <dirk.balf...@gmail.com>
Date: Fri, 28 Mar 2008 11:49:19 -0700
Local: Fri, Mar 28 2008 2:49 pm
Subject: Re: [oauth] Re: url construction for signature base string underspecified?
Cool thanks - I'll implement this in the java library.

Dirk.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »