Skip to content
Myr

byte alignment (#2774)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Lanco · committed by GitHub · parent 372cc4a · Browse files · 1 file+17 added−17 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+17 added−17 removed

  • other:+17 added−17 removed

1 file+17 added−17 removed

modified:gin.go+17 added-17 removed
97 unmodified lines
98 // fetched, it falls back to the IP obtained from99 // `(*gin.Context).Request.RemoteAddr`.100 ForwardedByClientIP bool101102 // DEPRECATED: USE `TrustedPlatform` WITH VALUE `gin.GoogleAppEngine` INSTEAD103 // #726 #755 If enabled, it will trust some headers starting with104 // 'X-AppEngine...' for better integration with that PaaS.105 AppEngine bool106107 // If enabled, the url.RawPath will be used to find parameters.108 UseRawPath bool109110 // If true, the path value will be unescaped.111 // If UseRawPath is false (by default), the UnescapePathValues effectively is true,112 // as url.Path gonna be used, which is already unescaped.113 UnescapePathValues bool114115 // RemoveExtraSlash a parameter can be parsed from the URL even with extra slashes.116 // See the PR #1817 and issue #1644117 RemoveExtraSlash bool118119 // List of headers used to obtain the client IP when120 // `(*gin.Engine).ForwardedByClientIP` is `true` and121 // `(*gin.Context).Request.RemoteAddr` is matched by at least one of the122 // network origins of `(*gin.Engine).TrustedProxies`.
8 unmodified lines
131 // If set to a constant of value gin.Platform*, trusts the headers set by132 // that platform, for example to determine the client IP133 TrustedPlatform string134118 // DEPRECATED: USE `TrustedPlatform` WITH VALUE `gin.GoogleAppEngine` INSTEAD119 // #726 #755 If enabled, it will trust some headers starting with120 // 'X-AppEngine...' for better integration with that PaaS.121 AppEngine bool122123 // If enabled, the url.RawPath will be used to find parameters.124 UseRawPath bool125126 // If true, the path value will be unescaped.127 // If UseRawPath is false (by default), the UnescapePathValues effectively is true,128 // as url.Path gonna be used, which is already unescaped.129 UnescapePathValues bool130135 // Value of 'maxMemory' param that is given to http.Request's ParseMultipartForm136 // method call.137 MaxMultipartMemory int64138135 // RemoveExtraSlash a parameter can be parsed from the URL even with extra slashes.136 // See the PR #1817 and issue #1644137 RemoveExtraSlash bool138139 delims render.Delims140 secureJSONPrefix string141 HTMLRender render.HTMLRender142 FuncMap template.FuncMap
484 unmodified lines