From: Morten L. J. <mor...@if...> - 2003-08-23 21:36:20
|
Hello I've just stumbled onto Webware, and are in the process of figuring out if it's what I'm looking for. So far it's looking good, except for the glaring lack of documentation. I hope that's something that will be rectified, because reading code in order to figure out what a method is for and how to use it isn't particulary productive (yet. I guess it's easier once you've done it a few times). If I can find a way to avoid having to guess at how things work, I think I'll come to like Webware. At the moment I'm just slapping together some testpages just to get a hang of how it all works, and I was thinking about something that looks like a bug in the browser I'm using, and was looking for some way to confirm this when I thought about Webware. So I decided to write a quick page to show me what I needed... except I can't figure out how to get the information I want. Basically I just want to get hold of all the information the browser sent to the server when making it's request. I figured this would be easy, using the htmlInfo method of the Request object, but got an NotImplementedError. Then I figured the info method would have to do, same error. Ok, so serverDictionary then... not giving me what I wanted tbh. Finally tried rawRequest, and I just get told there is no attribute _rawRequest. I've probably just been looking in the wrong places, but could someone please nudge me in the right direction? Thanks -- Morten You Might Have Mail. |
From: Ian B. <ia...@co...> - 2003-08-23 22:59:37
|
On Sat, 2003-08-23 at 16:35, Morten Lied Johansen wrote: > I've just stumbled onto Webware, and are in the process of figuring out > if it's what I'm looking for. So far it's looking good, except for the > glaring lack of documentation. I hope that's something that will be > rectified, because reading code in order to figure out what a method is > for and how to use it isn't particulary productive (yet. I guess it's > easier once you've done it a few times). If I can find a way to avoid > having to guess at how things work, I think I'll come to like Webware. Many of the docstrings describe classes and methods. To find the interesting classes and methods, you might want to read: http://webware.colorstudy.com/twiki/bin/view/Webware/TransactionAnatomy It's kind of a tour of WebKit. Ian |
From: Frank B. <fb...@fo...> - 2003-08-24 07:47:42
|
Hallo, Morten Lied Johansen hat gesagt: // Morten Lied Johansen wrote: > Basically I just want to get hold of all the information the browser > sent to the server when making it's request. I figured this would be > easy, using the htmlInfo method of the Request object, but got an > NotImplementedError. Then I figured the info method would have to do, > same error. Ok, so serverDictionary then... not giving me what I wanted > tbh. Finally tried rawRequest, and I just get told there is no attribute > _rawRequest. Most of that info should be found in HTTPRequest.environ() and HTTPRequest.fields() ciao -- Frank Barknecht _ ______footils.org__ |
From: Morten L. J. <mor...@if...> - 2003-08-25 00:02:00
|
On Sun, 24 Aug 2003, Frank Barknecht wrote: > Hallo, > > Morten Lied Johansen hat gesagt: // Morten Lied Johansen wrote: > > Basically I just want to get hold of all the information the browser > > sent to the server when making it's request. I figured this would be > > easy, using the htmlInfo method of the Request object, but got an > > NotImplementedError. Then I figured the info method would have to do, > > same error. Ok, so serverDictionary then... not giving me what I wanted > > tbh. Finally tried rawRequest, and I just get told there is no attribut= e > > _rawRequest. > > Most of that info should be found in HTTPRequest.environ() and > HTTPRequest.fields() Ah. Thank you. environ did indeed contain the information I was looking for. Now I'm going to try and get to grips with the rest of webware.. thanks to everyone else who made suggestions. Although they didn't help with this problem, some still pointed me towards useful stuff... :) --=20 Morten Left To Themselves, Things Tend To Go From Bad To Worse. -- Murphys Law =A75 |