[7.5][BUG] HttpRequest>>authorization:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[7.5][BUG] HttpRequest>>authorization:

Boris Popov, DeepCove Labs (SNN)
The method comment states,

"Sets a value the parameter can be a string or instance of
AuthenticateChallengeField"

but if you try to set it to a string you get the following,

HttpRequest new authorization: 'sample'; yourself

Unhandled exception: Message not understood: #scheme:
Net.AuthorizationField(Object)>>doesNotUnderstand:
Net.HttpRequest>>authorization:

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

Reply | Threaded
Open this post in threaded view
|

RE: [7.5][BUG] HttpRequest>>authorization:

Boris Popov, DeepCove Labs (SNN)
Fix:

Last line,

(self getFieldAt: 'authorization') scheme: aStringOrAuthorizationField

becomes,

(self getFieldAt: 'authorization') addScheme:
aStringOrAuthorizationField

Cheers!

-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: Boris Popov [mailto:[hidden email]]
> Sent: Friday, June 01, 2007 1:58 PM
> To: vwnc-list
> Subject: [7.5][BUG] HttpRequest>>authorization:
>
> The method comment states,
>
> "Sets a value the parameter can be a string or instance of
> AuthenticateChallengeField"
>
> but if you try to set it to a string you get the following,
>
> HttpRequest new authorization: 'sample'; yourself
>
> Unhandled exception: Message not understood: #scheme:
> Net.AuthorizationField(Object)>>doesNotUnderstand:
> Net.HttpRequest>>authorization:
>
> Cheers!
>
> -Boris
>
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> http://tinyurl.com/r7uw4
>
> [hidden email]
>
> CONFIDENTIALITY NOTICE
>
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
>
> Thank you.

Reply | Threaded
Open this post in threaded view
|

RE: [7.5][BUG] HttpRequest>>authorization:

Kogan, Tamara
Thanks, Boris.
Created AR:
52339: "Net.HttpRequest>>authorization: should be fixed"

Tamara Kogan
Smalltalk development,
Cincom Systems

> -----Original Message-----
> From: Boris Popov [mailto:[hidden email]]
> Sent: Friday, June 01, 2007 5:05 PM
> To: vwnc-list
> Subject: RE: [7.5][BUG] HttpRequest>>authorization:
>
> Fix:
>
> Last line,
>
> (self getFieldAt: 'authorization') scheme: aStringOrAuthorizationField
>
> becomes,
>
> (self getFieldAt: 'authorization') addScheme:
> aStringOrAuthorizationField
>
> Cheers!
>
> -Boris
>
> --
> +1.604.689.0322
> DeepCove Labs Ltd.
> 4th floor 595 Howe Street
> Vancouver, Canada V6C 2T5
> http://tinyurl.com/r7uw4
>
> [hidden email]
>
> CONFIDENTIALITY NOTICE
>
> This email is intended only for the persons named in the message
> header. Unless otherwise indicated, it contains information that is
> private and confidential. If you have received it in error, please
> notify the sender and delete the entire message including any
> attachments.
>
> Thank you.
>
> > -----Original Message-----
> > From: Boris Popov [mailto:[hidden email]]
> > Sent: Friday, June 01, 2007 1:58 PM
> > To: vwnc-list
> > Subject: [7.5][BUG] HttpRequest>>authorization:
> >
> > The method comment states,
> >
> > "Sets a value the parameter can be a string or instance of
> > AuthenticateChallengeField"
> >
> > but if you try to set it to a string you get the following,
> >
> > HttpRequest new authorization: 'sample'; yourself
> >
> > Unhandled exception: Message not understood: #scheme:
> > Net.AuthorizationField(Object)>>doesNotUnderstand:
> > Net.HttpRequest>>authorization:
> >
> > Cheers!
> >
> > -Boris
> >
> > --
> > +1.604.689.0322
> > DeepCove Labs Ltd.
> > 4th floor 595 Howe Street
> > Vancouver, Canada V6C 2T5
> > http://tinyurl.com/r7uw4
> >
> > [hidden email]
> >
> > CONFIDENTIALITY NOTICE
> >
> > This email is intended only for the persons named in the message
> > header. Unless otherwise indicated, it contains information that is
> > private and confidential. If you have received it in error, please
> > notify the sender and delete the entire message including any
> > attachments.
> >
> > Thank you.