Displaying 20 results from an estimated 40000 matches similar to: "mongrel multipart HTTP response (not request)"
2008 Jun 05
2
Static files and mongrel
Hi
how does mongrel (without rails or merb) handles Static files? Do I
have to create a handler for static file handling?
Thanks
Emmanuel
2006 Dec 21
1
dealing with multipart forms in a Mongrel::HttpHandler
Hi everyone,
Is there an easy way to parse multipart form requests from within a
Mongrel::HttpHandler subclass or do I need to break out RFC 2388 and a bunch
of regexps?
Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20061221/9e756aa8/attachment.html
2008 Apr 23
0
Upload a file using Net:HTTP multipart post or ActiveResource
Hi Guys,
I am trying to upload a file to a rails server using a ruby script.
http://pastie.org/185380
I verified the parameters of the Net:HTTP post request and they seem
to be right. However the recipient, mongre,l shows following message
in console and the parameters sent, the file data, is all corrupted.
oh and one very weird thing happened. the console running mongrel
looks like following
2006 Sep 22
3
Mongrel spinning on read_multipart
On Zed''s suggestion, I caught two new spinning mongrels and sent a
SIGUSR2. The code appears to be stuck in read_multipart for both processes:
# kill -USR2 6109
** USR2 signal received.
Thu Sep 21 14:55:39 EDT 2006: Reaping 1 threads for slow workers because
of ''shutdown''
Thread #<Thread:0x419d7ce0 run> is too old, killing.
Waiting for 1 requests to finish, could
2008 Jan 17
0
[REQUEST] Contributors for Mongrel book
Hey fellas,
As you know Zed and I put together the Mongrel ebook last year through
Addison-Wesley. We''re currently planning a full print version, and we
are interested to see if any of the Mongrel contributors would like to
help out (big or small). If you are please email me back at matt at eastmedia.com
. I''m also interested to hear what you think might be useful to have
2007 Jun 15
1
mongrel cluster issues, plain old mongrel OK
I just created a test rails app, and am having very wierd issues with
mongrel cluster. Here''s what I''m doing:
rails test
sudo chown -R mongrel:mongrel test
cd test
sudo mongrel_rails \
cluster::configure -e production \
-p 8000 -N 3 -a 127.0.0.1 --user mongrel \
--group mongrel
It correctly writes the mongrel_cluster.yml file to the config
directory. Now,
2008 Jan 14
3
Reading HTTP Request parameters
Hello
I''ve a client which send this request to a mongrel HTTPHandler :
res=Net::HTTP.post_form(URI.parse(''http://localhost:3000/test''),{"a"=>1,"b"=>2})
But in the handler I can''t read the parameters one by one, I can read
the entire String only :
class Serveur
class MyHandler < Mongrel::HttpHandler
def process(req, resp)
2006 Nov 15
4
Mongrel 0.3.15 PR -- All The Fixes Good For You
Hi folks,
Getting much much much closer to the 1.0 release. I have some documentation to work on tonight, and I need to go through the patch queue one more time, but I''ve put up another pre-release for people to test.
What this pre-release does is pull together the various patches, monkey patching, and alternatives that make Mongrel either faster or more stable. It is also the start
2006 Nov 05
1
Testing custom mongrel handlers?
Hey Folks-
I''m trying to setup a new test/spec harness for testing Merb. I was
wondering if there is a way to mock the Mongrel request, response
objects easily to test my handler without actually running a server?
I can easily do the env hash but I''m not entirely sure what needs to
go in the request StringIO object that gets passed into my mongrel
handler''s
2006 Feb 02
0
Mongrel HTTP Library 0.2.1 (Fancy URI Matching)
And now it''s time for yet another Mongrel release.
Mongrel is a small fast HTTP library written in (partly) Ruby. It is
intended to be used by web app framework authors to make their
applications fast and deployable without resorting to SCGI/FastCGI
trickery. Mongrel is tested to work on Linux and Mac OS X (with more
reports welcome). You''ll need a full compiler to
2007 Feb 09
0
mongrel, gem & cgi_multipart_eof_fix updates
This might just have affected my particular setup but thought it might
be worth noting for others.
>gem -v
0.9.2
>gem list --local
cgi_multipart_eof_fix (1.0.0)
Fix an exploitable bug in CGI multipart parsing which affects Ruby
<= 1.8.5.
mongrel (1.0.1, 1.0, 0.3.20, 0.3.18, 0.3.13.4)
A small fast HTTP library and server that runs Rails, Camping, Nitro
and Iowa apps.
2007 Jul 31
0
Patch: Allow overriding of handler dispatch in Mongrel::HttpServer
Hi Zed (and list),
I first of all wanted to thank you for all the hard work you''ve done
to make writing
HTTP services in Ruby easier and more reliable. A friend of mine and
I are developing
a network filestore service (similar to S3) based on Mongrel, and we
got a fairly
useful set of functionality done and working in a matter of a few
weeks thanks
largely to your work. Mongrel
2007 Feb 23
0
Mongrel::Uploads.check() not returning status
Hi,
I wrote a message earlier regarding how I wasn''t getting any feedback
from mongrel_upload_progress. After putting lots of debug messages
in the plugin, I figured out what was going on.
I had a route like this setup in routes.rb (this was the problem):
map.upload "upload/:upload_id",
:controller => "file",
:action
2008 Jun 07
0
Mongrel access logs?
Hi
How do I turn on/off the mongrel access logs? I have not seen any docs
and the API does not describes it very well..
Thanks
Emmanuel
2007 Dec 10
4
Mongrel and http 1.1 OPTIONS keyword
Hello.
I just seen some errors in my mongrel application log:
It seems related to the httpd OPTIONS keyword
Example:
Processing LoginController#login (for .30.5.208 at 2007-12-10 09:00:23)
[OPTIONS]
and our ruby application does not know what to do with it. and finally
send an error
Does mongrel (which is the http server) is supposed to deal with these
kind of request ?
I think these
2008 May 30
0
Mongrel handler and root_handler
Hi
I am writing my own handler and seeing some strance behavior. Best is
describing by the following code
say I create mongrel server (see at the end of the email) and have one
handler for the root (so shoudl handle all request..)
To my surprise the @a in the following code in the Handlder is not the
object I expect but a hash containing the name {:a => <SomeObject
Instance> }
2006 Apr 06
4
Mongrel Web Server 0.3.12.3 -- Thread Tracking and Debugging
Hello Everyone,
Mongrel is getting closer and closer to being a rock solid release. My goal
is to release 0.4 as "production ready" by Canada on Rails. Please report
any problems or suggestions you have. There won''t be any major features or
improvements just fixes and code reviews to repair any found bugs or
security concerns.
People interested in Mongrel should look at
2006 May 11
7
Upload progress "plugin"
mongreleers,
This is a hack for adding basic upload progress support to Mongrel.
Currently, you can monitor the upload of any POST. I''m sure some work
needs to be done to get it functioning with Rails.
Save as lib/mongrel/progress.
Anyway, here''s how to start Mongrel with it:
require ''mongrel''
require ''mongrel/camping''
require
2006 Nov 25
5
Mongrel 0.3.17 PR -- Big Work Day, 1.0 RC1 Very Close
Hello Everyone,
We''re hard at work getting the hot new win32 service Luis wrote out and ready for production. We''re hoping to have that included in the 1.0 RC1 release we make very soon.
This pre-release is just to make sure that we didn''t step on any toes.
Install it with:
$ gem install fastthread --source=http://mongrel.rubyforge.org/releases
$ gem install
2006 Feb 03
3
Mongrel HTTP Library 0.2.2 (Serving Directories)
Hey Folks,
Another announcement of Mongrel -- the fastest little web server
library for Ruby yet. This release is nice in that it should build
on win32 better and it now sports a small DirHandler that can serve
directories and files. This means Mongrel is closer to replacing
WEBrick as a Rails debug runner.
You can get the releases and information from:
*