similar to: Fixing PUT to work with multipart messages

Displaying 20 results from an estimated 30000 matches similar to: "Fixing PUT to work with multipart messages"

2006 Mar 29
1
Fixing output_compression for Rails 1.1
With Rails 1.1 the output_compression[1] plugin was broken. Once I upgraded to 1.1, I had to tweak it a bit to make it work. Mainly it''s removing the code dealing with component requests, as that''s part of rails now, and changing one function call. Get the modified output_compression.rb file from http://devblog.famundo.com/output_compression.rb and give it a try. It''s
2006 May 14
0
Beware of HashWithIndifferentAccess#symbolize_keys!
Hi, I just posted a patch tot he rails trac for a bug we found where running symbolize_keys! on a HashWithIndifferentAccess will delete all items from the hash. Please make sure you either never call symbolize_keys! (or to_options! which just alias it) on a HashWithIndifferentAccess, or apply the path attached from the ticket at: http://dev.rubyonrails.org/ticket/5076 I also posted a much longer
2006 Apr 03
0
Making output_compression work with send_file
While working with the newly fixed output compression plugin, one of the devs in my team discovered that it breaks with send_file(). So if you are using send_file() in your application you must get the fixed file I''ve put at: http://devblog.famundo.com/output_compression.rb. The change is actually in checking for the Content-Disposition header added by send_file(). See the full writeup
2009 Jul 29
1
Windows+Apache+FastCGI+Postgres - didn't work
Hello All, Get [Thu Jul 30 03:46:12 2009] [error] [client 66.249.67.10] (OS 2) Can''t find specified file: FastCGI: failed to connect to server "C:/usr/www/ public/dispatch.fcgi": CreateFile()/WaitNamedPipe() timed out [Thu Jul 30 03:46:12 2009] [error] [client 66.249.67.10] FastCGI: incomplete headers (0 bytes) received from server "C:/usr/www/public/ dispatch.fgi"
2006 Mar 05
5
A nicer and gentler form of spawner
I was working on deploying an app with switchtower, and I really dislike the way spawner is implemented. The way it will relaunch the dispatcher all the time just to let it die if the port is in use is too brute force for my taste. As we''re in a ruby script, why not let ruby find out if the port is in use? Using the TCPServer class we can try and bing to the port. If we succeed, it means
2004 Oct 05
2
SIP multipart mime messages
I was messing about integration of a Cirpack softswitch with Asterisk and banged my head against a problem previously noted on the list. http://lists.digium.com/pipermail/asterisk-users/2003-November/026436.ht ml What is the status of this problem? Has it been fixed? I scrambled through chan_sip.c, but couldn't find ay reference to "multipart". Regards, Jesper Dalberg
2006 May 23
0
Does TMail support Nested Multipart Messages?
Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: sample Type: application/octet-stream Size: 6906 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060523/c0e8fd84/sample.obj
2019 Jun 13
0
Sieve to strip html from multipart messages
On 2019-06-10 20:39, @lbutlr via dovecot wrote: > Is is possible (I?m sure it is, so how) to strip multipart messages > that are HTML and text of the HTML portion and leave the bare text > message without also stripping other parts (like images or attached > files). > > Or also to take messages that are only HTML and strip the HTML and > replace it with a plain text version?
2019 Jun 10
2
Sieve to strip html from multipart messages
Is is possible (I?m sure it is, so how) to strip multipart messages that are HTML and text of the HTML portion and leave the bare text message without also stripping other parts (like images or attached files). Or also to take messages that are only HTML and strip the HTML and replace it with a plain text version? I used to do this a long time ago with procmail and lynx, but it was never
2006 May 25
4
Does TMail support Nested Multipart Messages? (Repost)
Hi, does anybody know if TMail supports nested multipart messages? I read a changelog that indicates so (http://dev.rubyonrails.org/svn/rails/trunk/actionmailer/CHANGELOG), but I haven''t been able to get it working so far. Maybe I am doing something wrong here? I attached the sample mail. Here is the code to parse it: require File.dirname(__FILE__) +
2006 Jan 31
3
Lost in routing
I''m trying to create a modules based system where my controllers are all under modules. So the structure looks something like: app/ controllers/ message/ news_controller.rb email_controller.rb library books_controller.rb pictures_controller.rb home_page_controller.rb Each of those controller has
2006 Apr 17
2
Email Multipart message
Hi, I use the multipart functionality from the action mailer. But when i send an html message, my outlook opens the mail and shows this: --mimepart_4443b76d12268_6f34..fdacc616831e6 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline <!!Message> = = --mimepart_4443b76d12268_6f34..fdacc616831e6-- No html will appear. When
2007 May 17
0
BANNED message from you (multipart/mixed | application/octet-stream,.exe,.exe-ms,Saia de Ferias.pif)
BANNED CONTENTS ALERT Our content checker found banned name: multipart/mixed | application/octet-stream,.exe,.exe-ms,Saia de Ferias.pif in email presumably from you <openssh-unix-dev at mindrot.org> to the following recipient: -> natany.silva at bomifarma.com.br Our internal reference code for your message is 16785-04-7/qYh6fMTmWJy0 First upstream SMTP client IP address:
2009 Jul 30
0
Problem with implicit multipart emails using ActionMailer in Rails 2.3.3
With earlier versions of Rails ActionMailer used to implicitly send multipart (text/plain and text/html) email messages for me, but it looks like now it''s sending two text/plain parts. Simplified details: Here''s my model: class Notifications < ActionMailer::Base def confirmation(sent_at = Time.now) @subject = ''Thank you for registering'' @body
2009 Mar 27
0
ActionMailer multipart: html, plain and attachment?
Has anyone gotten emails to work where you specify the HTML and the plain text alternatives, but also include an attachment? Reason I''m asking: I''m sending out event notices, styled as HTML but with a plain text alternative. I also want to attach the .ics file. For some reason, I can''t get this to work. If I explicitly put in "multipart/mixed" (to support the
2007 Apr 24
1
Testing for multipart form uploads
Hi, I''m trying to do integration tests that require uploading files via multipart posts. Have seen a very similar discussion, but cannot get it to work. Maybe, it''s out of date now with Rails 1.2.3: http://groups.google.ca/group/rubyonrails-talk/browse_thread/thread/fdfd2c040a2425f4 >From what I understand, fixture_file_upload''s output is translated a String.
2006 May 04
0
Passing _session_id with multipart forms
The Macromedia Flash 8 FileReference.upload() function uploads files by sending a multipart POST request to the server. Unfortunately, there is a bug that prevents Firefox cookies from being sent along with the request, so a different Session is created. I''m having my Flash code use ExternalInterface to call a Javascript function on the page with the Flash movie. The JS function
2011 Aug 19
1
How to post a file via HTTP as multipart/form-data to Facebook?
I would like to post a new photo to a user using `Net::HTTP::multipart` from a Heroku application to Facebook. I have the following JSON object: {"message"=>"My message", "image"=>#<ActionDispatch::Http::UploadedFile:0x00000004242490 @original_filename="neEZYMAnBI.jpg", @content_type="application/octet-stream",
2008 Apr 25
2
multipart form_tag
I''m new to ruby, working on the book from Christian Hellsten & Jarkko Laine writen for RoR 1, so I had to adapt for RoR 2. I got the error : undefined local variable or method `multipart'' for #<#<Class:0xb714d388>:0xb714d360> Code : 1: <h1>Editing book</h1> 2: 3: <% form_tag( {:action => ''update'', :id => @book}, multipart
2005 Nov 21
1
How to add the footer to multipart emails
I recently lerned that Mailman adds its footer to MIME multipart messages by putting the original message in the first part of a new multipart/mixed entity and the footer in the second part, with Content-Disposition: inline. It works well in Thunderbird at least, i.e. the footer is visible; the glitch is that the footer shows up as an attachment as well, as does my PGP/MIME signature. Would this