Skip to content

Commit d9bfad7

Browse files
committed
Lower case statusCode
1 parent 53b399c commit d9bfad7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
## [v1.1.0] - 2017-08-24
1111
### Added
1212
- RabbitMQ message consumer for asynchronous script execution
13-
- Add possibility to send parameters as a JSON in the request body
13+
- HTTP: Add possibility to send parameters as a JSON in the request body
1414

1515
### Changed
1616
- Refactor code: extract modules into separate classes

PSScriptInvoker/RabbitMqModule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private void writeResponse(BasicDeliverEventArgs args, string messageText, int s
146146
props.DeliveryMode = 2;
147147

148148
props.Headers = args.BasicProperties.Headers;
149-
props.Headers.Add("StatusCode", statusCode);
149+
props.Headers.Add("statusCode", statusCode);
150150

151151
lock (rabbitMqChannel)
152152
{

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ For executing scripts asynchronously, you can use the RabbitMQ module of the ser
107107
- Routing key: The routing key you have defined in the service configuration (see [section Configuration](#configuration))
108108
- Headers:
109109
- All headers from the request message will be copied.
110-
- `StatusCode`: A HTTP status code.
110+
- `statusCode`: A HTTP status code.
111111
- Body:
112112
- The script result.
113113

0 commit comments

Comments
 (0)