#3 new
Mark Menard

register_uri :file result are doubling up newlines on OS X

Reported by Mark Menard | January 27th, 2009 @ 07:47 AM

I have a registered uri that is using a CSV file:

FakeWeb.register_uri('<some_uri>', :file => 'file.csv')

When the file is loaded via the socket every \n is doubled to \n\n. I have verified using sed, grep, etc. and re-pulling the original data from the web, that the newlines are singular.

I have added a failing test on MarkMenard/fakeweb on github.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Ruby tool for faking responses to Net::HTTP requests

People watching this ticket

Pages