Skip to content

Commit b38c204

Browse files
authored
Merge pull request #4 from indrekj/json
Add content type to the session created response
2 parents 20b89c8 + 0f12efb commit b38c204

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/ru/qatools/selenoud/AbstractCloud.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ abstract class AbstractCloud implements Cloud {
205205
LOG.info('[{}:{}] [SESSION_CREATED] [{}] [{}]', container.browser, container.version,
206206
container.name, sessionId)
207207
}
208-
response.send(toJson(hubResponse))
208+
response.send('application/json', toJson(hubResponse))
209209
}
210210
} catch (Exception e) {
211211
LOG.warn('[{}:{}] [SESSION_FAILED] [{}] [{}]', container.browser, container.version, container.name, e.message, e)

0 commit comments

Comments
 (0)