- [00:33] ssedano (~ssedano@unaffiliated/ssedano) left irc: Quit: WeeChat 0.3.4
- [00:40] ssedano (~ssedano@unaffiliated/ssedano) joined #rest.
- [01:57] Wombert (~Wombert@dslb-088-066-204-163.pools.arcor-ip.net) joined #rest.
- [02:17] RLa (~RL@133.220.190.90.dyn.estpak.ee) joined #rest.
- [02:18] <RLa> i'm trying to implement authentication for using rest resources
- [02:18] <RLa> but i'm not sure which response status code send for failed attempt
- [02:23] <RLa> http basic authentication should be used?
- [02:29] <trygvis> look at 401 and 403
- [02:30] <trygvis> basically, use 401 if the agent didn't send any headers, 403 if the agent is not allowed access even with credentials
- [02:31] <RLa> i first thought about using session for authentication
- [02:32] <RLa> 401: "The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.47) containing a challenge applicable to the requested resource."
- [02:32] <RLa> so i probably cannot use 401 for session-based authentication
- [02:32] <trygvis> why not?
- [02:33] <RLa> doesn't that trigger external dialog in the browser?
- [02:33] <trygvis> only for the authentication methods the browser support
- [02:33] <RLa> oh
- [02:34] <trygvis> are you going to access this service with a browser?
- [02:34] <trygvis> or is it just for testing?
- [02:34] <RLa> yes, with browser, using javascript
- [02:35] <RLa> i'm writing small management interface for the system i develop here
- [02:35] <trygvis> the browser won't pop up an authentication dialog for async calls, you'll see the 401 error directly on the response object
- [02:36] <RLa> it's much easier to implement management interface on server side with rest than with standard way, by generating lot of html
- [02:36] <trygvis> true that, I love it
- [02:36] <RLa> trygvis, that would be very good
- [02:38] <trygvis> I do find that browser rest applications tend to be a bit different from m2m applications
- [02:38] blongden (~blongden@nocarrier.co.uk) joined #rest.
- [02:41] <RLa> i see no difference, using only json as transport protocol
- [02:41] <RLa> some things generate html responses, that might be difference
- [02:42] <RLa> i build html from received json data on the browser
- [02:43] <RLa> so i guess some non-browser client could use these services too
- [02:43] <trygvis> as long as you use json to generate all the calls it's more m2m than h2m
- [02:46] <trygvis> (which is good)
- [03:00] DracoBlue (~Adium@dslb-088-075-066-254.pools.arcor-ip.net) joined #rest.
- [03:01] DracoBlue (~Adium@dslb-088-075-066-254.pools.arcor-ip.net) left #rest.
- [03:09] <RLa> hm, seems like if there is authentication required for the whole admin page, and user has successful attempt, then all requests made from that page have authentication headers automatically added?
- [03:09] <RLa> it would make lot of things very very easy
- [03:10] quest88 (~quest88@c-98-207-205-137.hsd1.ca.comcast.net) joined #rest.
- [03:14] quest88 (~quest88@c-98-207-205-137.hsd1.ca.comcast.net) left irc: Ping timeout: 240 seconds
- [03:46] dipeshbista (~dipeshbis@111.165.38.113) joined #rest.
- [03:47] dipeshbista (~dipeshbis@111.165.38.113) left #rest.
- [04:31] Wombert (~Wombert@dslb-088-066-204-163.pools.arcor-ip.net) left irc: Quit: Wombert
- [04:32] RLa (~RL@133.220.190.90.dyn.estpak.ee) left irc: Quit: Leaving
- [05:35] bigbluehat (~bigblueha@nmd.sbx08595.greensc.wayport.net) joined #rest.
- [05:36] bigbluehat_ (~byoung@nmd.sbx08595.greensc.wayport.net) joined #rest.
- [05:36] bigbluehat_ (~byoung@nmd.sbx08595.greensc.wayport.net) left irc: Client Quit
- [05:44] gchristensen (~gchristen@unaffiliated/grahamc) joined #rest.
- [05:50] Wombert (~Wombert@munich.bitextender.net) joined #rest.
- [06:06] grove (~grove@aggw006.cappelendamm.no) left irc: Quit: grove
- [06:28] gchristensen (~gchristen@unaffiliated/grahamc) left irc: Quit: Leaving...
- [06:50] fu-manchu (~fumanchu@99.30.180.185) joined #rest.
- [07:00] grove (~grove@193.201.9.46.customer.cdi.no) joined #rest.
- [07:23] tehviking (u2893@gateway/web/irccloud.com/x-gbiopjtcysonbogo) left irc: Remote host closed the connection
- [07:23] omarkj (u766@gateway/web/irccloud.com/x-ctcxxweotxtqepaz) left irc: Read error: Connection reset by peer
- [07:36] tehviking (u2893@gateway/web/irccloud.com/x-yqqcfeyvarlgnntc) joined #rest.
- [07:48] KarlHungus (~relax@unaffiliated/adj) joined #rest.
- [07:51] KarlHungus (~relax@unaffiliated/adj) left irc: Client Quit
- [07:52] KarlHungus (~relax@unaffiliated/adj) joined #rest.
- [07:52] omarkj (u766@gateway/web/irccloud.com/x-wyyribwfrjkgrzcr) joined #rest.
- [07:54] gchristensen (~gchristen@unaffiliated/grahamc) joined #rest.
- [08:02] mamund shows up
- [08:04] wav1 (~Adium@68-240-104-3.pools.spcsdns.net) joined #rest.
- [08:15] ivanfi (~ivanfi@62.159.77.164) joined #rest.
- [08:35] ivanfi (~ivanfi@62.159.77.164) left #rest.
- [08:36] grove (~grove@193.201.9.46.customer.cdi.no) left irc: Quit: grove
- [08:41] bigbluehat (~bigblueha@nmd.sbx08595.greensc.wayport.net) left irc: Quit: Leaving.
- [08:59] whartung (~whartung@wsip-98-189-78-118.oc.oc.cox.net) joined #rest.
- [09:00] whartung (~whartung@wsip-98-189-78-118.oc.oc.cox.net) left irc: Client Quit
- [09:00] whartung (~whartung@wsip-98-189-78-118.oc.oc.cox.net) joined #rest.
- [09:00] <whartung> o/
- [09:01] <mamund> \o
- [09:07] mikekk (~mike@87.244.79.7) joined #rest.
- [09:15] bigbluehat (~bigblueha@adsl-98-71-133-72.gsp.bellsouth.net) joined #rest.
- [09:16] mikekk (~mike@87.244.79.7) left irc: Quit: Lost terminal
- [09:22] grove (~grove@193.201.9.46.customer.cdi.no) joined #rest.
- [09:30] KevBurnsJr (~KevBurnsJ@50.0.103.39) joined #rest.
- [09:50] bigbluehat (~bigblueha@adsl-98-71-133-72.gsp.bellsouth.net) left irc: Quit: Leaving.
- [10:06] bigbluehat (~bigblueha@adsl-98-71-133-72.gsp.bellsouth.net) joined #rest.
- [10:19] mephju (~mephju@dslb-188-103-176-143.pools.arcor-ip.net) joined #rest.
- [10:30] hobodave (~hobodave@pdpc/supporter/professional/hobodave) joined #rest.
- [10:41] KeeperOfTheSoul -> chilversc
- [11:24] mephju (~mephju@dslb-188-103-176-143.pools.arcor-ip.net) left irc: Quit: Verlassend
- [11:30] mamund taps glass to see if any of the fishies are still alive
- [11:31] <whartung> bubble bubble
- [11:31] mamund is relieved :)
- [11:36] grove (~grove@193.201.9.46.customer.cdi.no) left irc: Quit: grove
- [11:45] Wombert (~Wombert@munich.bitextender.net) left irc: Quit: Wombert
- [12:10] <mamund> ok
- [12:10] <mamund> this is gerting really boring ppl!
- [12:11] <fu-manchu> this quiet channel?
- [12:15] <fu-manchu> ok, uh... "the Link header is the most useless extension to the HTTP protocol since the 'Safe' header in HTCPCP!"
- [12:15] <mamund> see, that's better!
- [12:42] Wombert (~Wombert@dslb-088-067-188-199.pools.arcor-ip.net) joined #rest.
- [13:57] wav1 (~Adium@68-240-104-3.pools.spcsdns.net) left irc: Quit: Leaving.
- [14:05] grove (~grove@193.201.9.46.customer.cdi.no) joined #rest.
- [14:06] grove (~grove@193.201.9.46.customer.cdi.no) left irc: Client Quit
- [14:19] bigbluehat (~bigblueha@adsl-98-71-133-72.gsp.bellsouth.net) left irc: Quit: Leaving.
- [14:26] Shapeshifter (~Shapeshif@saskatoon.icu.uzh.ch) joined #rest.
- [15:02] mamund thinks it's too noisy in here, heading to a library instead. so long!
- [15:04] <chilversc> hmm? I thought this was a restful channel? I came here to sleep
- [15:39] gchristensen (~gchristen@unaffiliated/grahamc) left irc: Quit: Leaving...
- [16:04] Wombert (~Wombert@dslb-088-067-188-199.pools.arcor-ip.net) left irc: Quit: Wombert
- [16:25] lmarburger (u1979@gateway/web/irccloud.com/x-fynqtlapeqosldqp) joined #rest.
- [16:42] gchristensen (~gchristen@unaffiliated/grahamc) joined #rest.
- [16:47] gchristensen (~gchristen@unaffiliated/grahamc) left irc: Read error: Connection reset by peer
- [16:47] gchristensen (~gchristen@unaffiliated/grahamc) joined #rest.
- [17:14] gchristensen (~gchristen@unaffiliated/grahamc) left irc: Quit: Leaving...
- [17:51] darrelmiller (~darrelmil@bas1-montreal08-1279564619.dsl.bell.ca) joined #rest.
- [18:09] KevBurnsJr (~KevBurnsJ@50.0.103.39) left irc:
- [19:27] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) left irc: Ping timeout: 252 seconds
- [19:42] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) joined #rest.
- [19:46] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) left irc: Ping timeout: 244 seconds
- [20:12] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) joined #rest.
- [20:59] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) left irc: Ping timeout: 244 seconds
- [21:25] scudco (~scudco@cpe-75-85-13-152.socal.res.rr.com) joined #rest.
- [21:29] grove (~grove@193.201.9.46.customer.cdi.no) joined #rest.
- [21:29] grove (~grove@193.201.9.46.customer.cdi.no) left irc: Client Quit
- [21:53] Wombert (~Wombert@dslb-088-067-188-199.pools.arcor-ip.net) joined #rest.
- [22:12] grove (~grove@aggw006.cappelendamm.no) joined #rest.
- [22:54] Wombert (~Wombert@dslb-088-067-188-199.pools.arcor-ip.net) left irc: Read error: Connection reset by peer
- [22:54] Wombert (~Wombert@dslb-088-067-188-199.pools.arcor-ip.net) joined #rest.
- [23:15] kennethreitz (~kennethre@c-24-127-96-129.hsd1.va.comcast.net) left irc: Quit: Computer has gone to sleep.
- [00:00] --- Tue Dec 13 2011