1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 09:57:01 +00:00

Set the yaml configuration fields identical to the original's Configuration fields. Update Readme

Former-commit-id: 2fa9f7985a16c5c292634d0140ee6b1959c04dbb
This commit is contained in:
Gerasimos (Makis) Maropoulos
2017-02-16 18:14:55 +02:00
parent dd1d6837d9
commit 1851d49b58
3 changed files with 84 additions and 76 deletions

View File

@@ -103,33 +103,20 @@ func TestConfigurationYAML(t *testing.T) {
}()
yamlConfigurationContents := `
vHost: iris-go.com
vScheme: https://
readTimeout: 0
writeTimeout: 5s
maxHeaderBytes: 8096
checkForUpdates: true
disablePathCorrection: false
enablePathEscape: false
fireMethodNotAllowed: true
disableBanner: true
disableBodyConsumptionOnUnmarshal: true
timeFormat: Mon, 01 Jan 2006 15:04:05 GMT
charset: UTF-8
gzip: true
VHost: iris-go.com
VScheme: https://
ReadTimeout: 0
WriteTimeout: 5s
MaxHeaderBytes: 8096
CheckForUpdates: true
DisablePathCorrection: false
EnablePathEscape: false
FireMethodNotAllowed: true
DisableBanner: true
DisableBodyConsumptionOnUnmarshal: true
TimeFormat: Mon, 01 Jan 2006 15:04:05 GMT
Charset: UTF-8
Gzip: true
`
yamlFile.WriteString(yamlConfigurationContents)