Permalink
Switch branches/tags
libwww-perl/6.03 libwww-perl/6.02 libwww-perl/6.01 libwww-perl/6.00 libwww-perl/5.837 libwww-perl/5.836 libwww-perl/5.835 libwww-perl/5.834 libwww-perl/5.833 libwww-perl/5.832 libwww-perl/5.831 libwww-perl/5.830 libwww-perl/5.829 libwww-perl/5.828 libwww-perl/5.827 libwww-perl/5.826 libwww-perl/5.825 libwww-perl/5.824 libwww-perl/5.823 libwww-perl/5.822 libwww-perl/5.821 libwww-perl/5.820 libwww-perl/5.819 libwww-perl/5.818 libwww-perl/5.817 libwww-perl/5.816 libwww-perl/5.815 libwww-perl/5.814 libwww-perl/5.813 libwww-perl/5.812 libwww-perl/5.811 libwww-perl/5.810 libwww-perl/5.808 libwww-perl/5.807 libwww-perl/5.806 libwww-perl/5.805 libwww-perl/5.804 libwww-perl/5.803 libwww-perl/5.802 libwww-perl/5.801 libwww-perl/5.800 libwww-perl/5.79 libwww-perl/5.78 libwww-perl/5.77 libwww-perl/5.76 libwww-perl/5.75 libwww-perl/5.74 libwww-perl/5.73 libwww-perl/5.72 libwww-perl/5.71 libwww-perl/5.70 libwww-perl/5.69 libwww-perl/5.68 libwww-perl/5.67 libwww-perl/5.66 libwww-perl/5.65 libwww-perl/5.64 libwww-perl/5.63 libwww-perl/5.62 libwww-perl/5.61 libwww-perl/5.60 libwww-perl/5.53.97 libwww-perl/5.53.96 libwww-perl/5.53.95 libwww-perl/5.53.94 libwww-perl/5.53.93 libwww-perl/5.53.92 libwww-perl/5.53.91 libwww-perl/5.53.90 libwww-perl/5.53 libwww-perl/5.52 libwww-perl/5.51 libwww-perl/5.50 libwww-perl/5.49 libwww-perl/5.48 libwww-perl/5.47 libwww-perl/5.46 libwww-perl/5.45 libwww-perl/5.44 libwww-perl/5.43 libwww-perl/5.42 libwww-perl/5.41 libwww-perl/5.40.01 libwww-perl/5.36 libwww-perl/5.35 libwww-perl/5.34 libwww-perl/5.33 libwww-perl/5.32 libwww-perl/5.31 libwww-perl/5.30 libwww-perl/5.22 libwww-perl/5.21 libwww-perl/5.20 libwww-perl/5.19 libwww-perl/5.18.05 libwww-perl/5.18.04 libwww-perl/5.18.03 libwww-perl/5.18 libwww-perl/5.17 libwww-perl/5.16
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (49 sloc) 1.86 KB
HTTP::Message
-------------
- option to keep file content in file (save method?)
- save message to file (separate file for headers and content?)
- option to move file content to temp file if it grows big enough
- bind( $filename ) # discard current content (read file/write lazily)
- save( $filename ) # write current content to file and bind()
- rename( $filename ) # croak if not bound
- close() # in case file handle is open, flush saved content
- unbind(keep_content/reset_content/unlink)
- bound() # returns the bound filename (or false)
- tempfile(template, DIR, SUFFIX, TMPDIR, CLEANUP, LIMIT)
- read($offset, $length)
- alternative is to expose the IO::Handle interface (IO::String for compat)
- length # return -s
- content_length # already a method giving access to the Header field
- methods to sync header fields and file meta data
- Last-Modified
- Content-Length
- Content-Type
- Content-Encoding
- Content-MD5
- state kept to track file binding
- filename
- fh
- open_readonly
- temp_limit
- temp_options
- interaction with current interface
- content_ref modifications problematic
- do we implement content_ref at all?
- file suffix should stay in sync as the file is encoded/decoded
- parts (when does modification happen)
- clear; implies unbind(reset_content)
- clone; implies unbind(keep_content)?, no shared $fh at least
- optionally loaded as HTTP::Message::File (?)
- a way to store headers, status line, etc in a file as well?
- decode stream (reusable in LWP::Protocol)
- registry of encoders for encode/decode
LWP::UserAgent
--------------
- raise HTTP::Response objects as exceptions
Data::Sink/Source
-----------------
- alternative consumer/producer
- get/read, close
- put/write/feed, flush, close
- reset
- http://effbot.org/zone/consumer.htm