FrostDigital / fruster-api-gateway

MIT License
0 stars 0 forks source link

Add response header from bus message to HTTP response #4

Closed joelso closed 8 years ago

joelso commented 8 years ago

Will make API gateway pick up headers from bus message and populate HTTP headers on response.

For example:

{
   status: 200,
   headers: { 'Set-Cookie': 'foo' }
}

Will result in that Set-Cookie header is set to foo on HTTP response.

joelso commented 8 years ago

Note: this depends on new syntax in fruster-bus which is in this PR https://github.com/FrostDigital/fruster-bus-js/pull/3

joelso commented 8 years ago

@Florry or @nilsok please review