, but
I'm not sure why... it seems like a useful capability.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org
efforts I can never get it to work. Well best efforts might
indicate more work than I've actually put into it, but enough effort to
leave me thoroughly annoyed ;)
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
run:
app-setup --template=webkit_zpt create
It fills in those files, so they are templates for the application.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org
do the
latter automatically anyway :). I think Ian Bicking has been saying
similar things.
Well, since I show up in both paragraphs (having written FormEncode),
and both sides of the issue, I guess I should reflect on why.
The duplication of work did occur to me (and I was looking to give up
://svn.pythonpaste.org/Paste/trunk/
* New package name: paste
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org
James Y Knight wrote:
On Apr 28, 2005, at 2:02 PM, Ian Bicking wrote:
What I want in a WSGI server
twisted.web2 supports: HTTP, HTTPS, CGI, and I wrote SCGI yesterday and
will commit it this weekend. FastCGI looks like a complicated protocol,
so it'll probably be a bit harder than SCGI
across browsers.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail
they don't have a web-forms-implementors mailing list or
something.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http
hooks to use it as a backend to a caching middleware, but I
wonder if anyone's started on anything in that direction.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http
?) -- either way it can't hurt for
people to indicate an interest in mentorship.
Anyway, the page is here:
http://wiki.python.org/moin/PythonWebProgrammingIdeas
-- my ideas are all focused on WSGI applications, which is kind of
abstract and maybe a little on the boring/low-level side ;)
--
Ian
Shannon -jj Behrens wrote:
Anyone have any comments on HTMLTemplate?
Which one? I think there's a few.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org
Python presentation layer.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive
.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com
, that
the WSGI dictionary is a reasonable standard object.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman
separate
process for Windows might make sense (as a windows service or something).
Opinions? Or examples of other servers (preferably Python-based) that
do this well?
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing
Jacob Smullyan wrote:
On Thu, Jun 09, 2005 at 01:26:17PM -0500, Ian Bicking wrote:
Does anyone have opinions on how to start and stop daemon servers? I've
added a --daemon option to paster serve, but I'd like to implement stop,
restart, and reload as well. Whenever I encounter servers
.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com
for about 10
seconds. So connections during that downtime get caught in the gateway
between Apache and the Python server, and eventually get through (as
long as the server really does come back up). It works quite well, and
it's simple.
--
Ian Bicking / [EMAIL PROTECTED] / http
I'm guessing you also meant to copy web-sig...
Jacob Smullyan wrote:
On Thu, Jun 09, 2005 at 01:52:52PM -0500, Ian Bicking wrote:
Jacob Smullyan wrote:
On Thu, Jun 09, 2005 at 01:26:17PM -0500, Ian Bicking wrote:
Does anyone have opinions on how to start and stop daemon servers? I've
added
)
But I'm not sure if that's right either. The process seems to die,
instead of properly terminating. Should I send another signal, and set
up a signal handler in the server? Then perhaps I would send that
signal, wait a bit, and send SIGTERM if it didn't stop on its own?
--
Ian Bicking
, I don't know of any, though I'd be very interested in
such a thing. Incidentally making such a thing was one of the ideas I
put up for Google's Summer of Code. But I don't know if anyone took
that one up.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
produce strings. I think consumers should treat strings (or maybe a
special string subclass) specially, performing conversions as necessary
(e.g., 'yes'-True).
Thoughts?
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG
authentication being examples where the
partitioning was done improperly.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org
to step back from that a bit. It sure is tempting,
though. ;-)
I've found it satisfyingly easy. Maybe there's a better way... but
better without easier doesn't excite me at all. And we learn best
by doing... which is my way of saying you should try it with code right
now ;)
--
Ian Bicking
Phillip J. Eby wrote:
At 01:57 PM 7/11/2005 -0500, Ian Bicking wrote:
Lately I've been thinking about the role of Paste and WSGI and whatnot.
Much of what makes a Paste component Pastey is configuration;
otherwise the bits are just independent pieces of middleware, WSGI
applications, etc
of
architecture I've been attracted to, and the kind of middleware I've
been adding to Paste. The biggest difference is that mod_python uses an
actual list and return values, where WSGI uses nested function calls.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
Chris McDonough wrote:
On Mon, 2005-07-18 at 22:49 -0500, Ian Bicking wrote:
In addition to the examples I gave in response to Graham, I wrote a
document on this a while ago:
http://pythonpaste.org/docs/url-parsing-with-wsgi.html
The hard part about this is configuration; it's easy
most of the
time, but if you do it's still not that bad. WSGI is dumb and crude,
which is a feature.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs
applications. However, that feature specification would be optional.
What the configuration file in egg-info looks like, I don't know.
Probably just like the original configuration file, except this time
with a factory.
I don't like the configuration key egg though. But eh, that's a detail.
--
Ian
Chris McDonough wrote:
On Fri, 2005-07-22 at 17:26 -0500, Ian Bicking wrote:
To do this, we use a ConfigParser-format config file named
'myapplication.conf' that looks like this::
[application:sample1]
config = sample1.conf
factory = wsgiconfig.tests.sample_components.factory1
, but if the change in the configuration file
reflected a change in the source code, then you're stuck because
reloading in Python is so infeasible. I'm all for warnings, but I don't
see how we can do the Right Thing here, as much as I wish it were otherwise.
--
Ian Bicking / [EMAIL PROTECTED] / http
the assignment inside a string, instead of:
entry_points = {
'wsgi.app_factories': {
'app': 'somemodule:somefunction',
},
}
Also, is there any default name? Like for a package that distributes
only one application. Or these just different spellings for the same thing?
--
Ian Bicking
that name could match the
package name, or a fixed name we agree upon, but otherwise it adds
another name to the mix.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org
knows how to build an application from
filename conventions in the package itself, even though the
paste.wareweb module isn't in the project itself.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG
the character decoding improperly (line-by-line
instead of opening the file with the given character encoding), but
otherwise it's been sufficiently generic and workable, and should allow
for doing more extensive parsing of things like section headers.
--
Ian Bicking / [EMAIL PROTECTED] / http
it is harder.
Also when configuration is pushed into factories as keyword arguments,
instead of being pulled out of a dictionary, it is much harder -- the
configuration becomes unhackable.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
Phillip J. Eby wrote:
At 08:29 PM 7/25/2005 -0500, Ian Bicking wrote:
Right now Paste hands around a fairly flat dictionary. This
dictionary is passed around in full (as part of the WSGI environment)
to every piece of middleware, and actually to everything (via an
import and threadlocal
.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com
Well, the stack is really just an example, meant to be more realistic
than sample1 and sample2. I actually think it's a very reasonable
example, but that's not really the point. Presuming this stack, how
would you configure it?
Chris McDonough wrote:
Just for a frame of reference, I'll say
: FileBrowser app
browse_path = /home/rflosi
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig
Ian Bicking wrote:
It's experimental. It's far too bound to ConfigParser. Maybe it's too
closely bound to .ini files in general. It doesn't handle multiple
files or file references well at all. Actually, not just not well, but
just not at all. But I think it's fairly simple and usable
implies that there should be a standard generic location
to store session information. Or you can ignore that and use the
session ID only.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web
mike bayer wrote:
I mostly was using Apache::Session as a guide to the architectural
features I wanted to see, which include flexibility of containment and
locking systems as well as a separation between individual sessions.
Is there a good API guide to Apache::Session somewhere?
--
Ian
. Then
it essentially becomes an ad hoc event system.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman
.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com
Ian Bicking wrote:
Though there's a couple issues. The sessino store should be passed
along with the session ID. It should be specified that loading a
session from this callback will not cancel its expiration. Maybe
per-session callbacks should be allowed; in which case the callbacks
do what you want
to do just fine, and ignore the rest.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org
Phillip J. Eby wrote:
At 09:03 PM 8/22/2005 -0500, Ian Bicking wrote:
One aspect of paste.deploy that wasn't shown in that example is that
it's easy to refer to other configuration files. It would actually be
more realistic to do:
[composit:app]
use = egg:Paste#urlmap
to be string literals.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail
Ksenia Marasanova wrote:
Sorry if this is a trivial question, but does it sounds reasonable to
use WSGI for pluggable standard applications, instead of usual
Python imports? For example, standard news module, like:
app = NewsApp(path='/site/news/')
The content of news app would be
Ksenia Marasanova wrote:
2005/9/10, Ian Bicking [EMAIL PROTECTED]:
Ksenia Marasanova wrote:
Sorry if this is a trivial question, but does it sounds reasonable to
use WSGI for pluggable standard applications, instead of usual
Python imports? For example, standard news module, like:
app
hooks to subtly change various parts of the page is
intricate. I'd hate to have to do that using a filter :-/ Oh well,
YMMV.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http
I'm pleased to release the first official packaging of the Paste suite
of tools. I'm starting at 0.3 -- less committal than 1.0, but more
confident than 0.1... just right for now.
Python Paste aims brings consistency to Python web development and web
application installation, providing tools for
I'm pleased to announce FormEncode 0.3.
What is it?
---
FormEncode is a package for form validation and conversion. It also
includes modules for parsing, filling, and extracting metadata from HTML
forms. It features robust conversion both of incoming and outgoing
data, attention paid
I'm pleased to announce FormEncode 0.4.
What Changed?
-
Lots of cleanups and clarifications. Also a module to integrate with
SQLObject. Read all about the changes:
http://formencode.org/news.html
What is it?
---
FormEncode is a package for form validation and
to
greater effect in an asynchronous server. However, I'd rather it not be
optional, as most WSGI apps won't do this, and so servers won't get good
testing on this or may just not implement it, and then some apps and
some servers won't be compatible.
--
Ian Bicking / [EMAIL PROTECTED] / http
be required in the spec, since it's required in practice.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman
with the server developers.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail
-- it may simply be an overzealous warning.
CCing DB-SIG -- people there might know more details.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
almost always set anyways.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail
in the server.
Not that I really know much about chunking, except that it was discussed
at one point.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web
frameworks
don't actually deal well with tracking an upload, hence a custom WSGI
application).
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
WSGI and
the tools in Paste.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive
. Well, I suppose you
could update the one-and-only environ from a copy you made before
sending the request on. But anyway, it doesn't do that.
I'd like to do this same thing (N subrequests) sometime in the future
for server-side HTML Overlays.
--
Ian Bicking / [EMAIL PROTECTED] / http
accompanied by
code).
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail
, 'foo.tmpl')
print tmpl_plugin.render(tmpl, locals())
Where before it would be:
tmpl_plugin = CheetahPlugin()
print tmpl_plugin.render(locals(), template='foo.tmpl')
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web
.
I, for one, am listening.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive
Phillip J. Eby wrote:
[back to the Web-SIG]
At 09:39 PM 1/31/2006 -0600, Ian Bicking wrote:
How do you pass in variables?
environ, or a nested variable therein
OK, if you invert that (put the environ in the variables) then you
get... variables, like in the original spec.
How do
the chain of
calls or something.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive
= response.plugin.render(resource, {'environ': environ})
start_response('200 OK', environ['response.headers'].items())
return [body]
There's a bunch of sloppy WSGI constructs, and the environment isn't a
great request object, but that's not really the point.
--
Ian Bicking / [EMAIL
Ian Bicking wrote:
def render(template_instance, vars, format=html, fragment=False):
Here I can magically turn this into a WEB templating spec:
def render(template_instance, vars, format=html, fragment=False,
wsgi_environ=None, set_header_callback=None)
wsgi_environ is the environ
of the API design.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail
Ian Bicking wrote:
Ian Bicking wrote:
def render(template_instance, vars, format=html, fragment=False):
Here I can magically turn this into a WEB templating spec:
def render(template_instance, vars, format=html, fragment=False,
wsgi_environ=None, set_header_callback=None)
I've
Phillip J. Eby wrote:
At 03:26 PM 2/5/2006 -0600, Ian Bicking wrote:
Even the most trivial of web applications needs templates to include
other templates, so the fact that this doesn't do anything to aid or
specify that makes the spec feel leaky. I can indicate where the
template comes
James Y Knight wrote:
On Feb 5, 2006, at 6:17 PM, Ian Bicking wrote:
``set_header_callback`` is a function that can be called like
``set_header_callback(header_name, header_value)``.
Arguments can only be strings (not unicode) [encode unicode
the template plugins.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com
frequent releases).
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail
Kevin Dangoor wrote:
On 2/5/06, Ian Bicking [EMAIL PROTECTED] wrote:
def render(template_instance, vars, wsgi_environ=None,
set_header_callback=None, **kwargs):
I'm not keen on the wsgi_environ and set_header_callback options,
because I don't perceive a true need
of templates, not to be confused with the template itself.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman
compatibility well. It would be easy, for instance, to apply
the filtering in the logging middleware if the server was not already
filtering the response, and set the key to represent that the filtering
was in place.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
can't know if the thing calling it is a server
that is actually talking to a socket, or some middleware that is passing
along a request.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web
-sarna.com/wsgiref/src/wsgiref/simple_server.py?rev=1.2view=markup)
are all pretty short. It would be better to discuss the particulars.
Is there a code path in one or more of these servers which you think is
unneeded and problematic?
--
Ian Bicking / [EMAIL PROTECTED] / http
be two servers in the standard library (I assume) -- CGI and HTTP (and
hopefully HTTPS will be easy to build off of HTTP).
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http
SimpleHTTPServer.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail
something to consider. OTOH, maybe it should just be a similar object.
And maybe both should use UserDict.DictMixin; much simpler then.
Oh, and I don't like that __getitem__() and .get() are the same.
__getitem__ should raise KeyError.
--
Ian Bicking / [EMAIL PROTECTED] / http
recieves
can be fully described by a dictionary (unlike the cookies that a server
sends).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
;)
- Form value validation
I believe this is rather difficult, but not impossible.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe
look for in stdlib modules.
Or, I can imagine an implementation-focused PEP on several of the things
discussed. Which things?
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http
included anywhere, I'd want to at
least include such a simulation in the tests.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http
will emerge.
But lots of what we're talking about here isn't like that, so we
shouldn't be pessimistic, just focused.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org
markup.sf.net). I'm more interested in just
using it to build fragments.
Opinions?
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http
Hi guys... looks like Google SoC is back on again. I'm hoping we get
some good web stuff going on, so people should start thinking. Also
there's two wiki pages where you can add project ideas:
http://wiki.python.org/moin/SummerOfCode and the somewhat out-of-date
(and needs cleaning) page
the Javascript is given to execute.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig
though, just some questions
about the particulars of the server. I think there were at least a
couple small suggestions for the wsgiref server; in particular maybe a
slight refactoring to make it easier to use with https.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
of checks that should take place (most related to /'s),
and the not found response should be configurable (probably as an
application that can be passed in as an argument). But that's most of
what it should do.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
the same prefix dispatching in Python *without*
matching the interface of anybody else's code or environment; that's the
sort of thing a reference implementation is meant to keep people from doing.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
Phillip J. Eby wrote:
At 04:04 PM 4/28/2006 -0500, Ian Bicking wrote:
I don't see why not to use prefix matching. It is more consistent with
the handling of the default application ('', instead of a method that
needs to be overridden), and more general, and the algorithm is only
barely
Phillip J. Eby wrote:
At 05:47 PM 4/28/2006 -0500, Ian Bicking wrote:
It will still be only a couple lines less than prefix matching.
That's beside the point. Prefix matching is inherently a more complex
concept, and more likely to be confusing, without introducing much in
the way of new
Phillip J. Eby wrote:
At 07:48 PM 4/28/2006 -0500, Ian Bicking wrote:
One is not more complex than the other.
The implementation has more moving parts, but I was talking about
conceptual complexity.
The most common web servers do not match path prefixes, they have
directories and files
for what
prefix dispatching implement on their own, which means that they won't
be as compatible with other webservers and environments.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
___
Web-SIG mailing list
Web-SIG@python.org
1 - 100 of 284 matches
Mail list logo