Skip to content

Allow the return of strings instead of always JSON#25

Open
ealter wants to merge 1 commit intocloudhead:masterfrom
ealter:7623a63c43191536117b35e2a478b0c56dc2f503
Open

Allow the return of strings instead of always JSON#25
ealter wants to merge 1 commit intocloudhead:masterfrom
ealter:7623a63c43191536117b35e2a478b0c56dc2f503

Conversation

@ealter
Copy link

@ealter ealter commented Jun 12, 2012

When I was using the journey router, there were times when I wanted to return pure string responses instead of json. An example would be returning some html.

This commit changes the behavior of the request.send when passed strings. Instead of making json with "journey" as the key, this keeps it as a string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant