You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EnabledAutoHEADbool`xml:"enabledautohead,attr"`// ehanble HEAD routing, default is false, will add HEAD routing for all routes except for websocket and HEAD
44
-
EnabledAutoOPTIONSbool// enable OPTIONS routing, default is false, will add OPTIONS routing for all routes except for websocket and OPTIONS
45
-
EnabledIgnoreFaviconbool`xml:"enabledignorefavicon,attr"`// ignore favicon.ico request, return empty reponse if set
46
-
EnabledBindUseJsonTagbool`xml:"enabledbindusejsontag,attr"`// allow Bind to use JSON tag, default is false, Bind will use json tag automatically and ignore form tag
47
-
EnabledStaticFileMiddlewarebool// The flag which enabled or disabled middleware for static-file route
40
+
EnabledListDirbool`xml:"enabledlistdir,attr"`// enable listing of directories, only valid for Router.ServerFile, default is false
41
+
EnabledRequestIDbool`xml:"enabledrequestid,attr"`// enable uniq request ID, default is false, 32-bit UUID is used if enabled
EnabledAutoHEADbool`xml:"enabledautohead,attr"`// ehanble HEAD routing, default is false, will add HEAD routing for all routes except for websocket and HEAD
44
+
EnabledAutoOPTIONSbool`xml:"-"`// enable OPTIONS routing, default is false, will add OPTIONS routing for all routes except for websocket and OPTIONS
45
+
EnabledRedirectTrailingSlashbool`xml:"enabledredirecttrailingslash,attr"`// enable automatic redirection for URLs with trailing slash, default is false to match net/http behavior
46
+
EnabledIgnoreFaviconbool`xml:"enabledignorefavicon,attr"`// ignore favicon.ico request, return empty reponse if set
47
+
EnabledBindUseJsonTagbool`xml:"enabledbindusejsontag,attr"`// allow Bind to use JSON tag, default is false, Bind will use json tag automatically and ignore form tag
48
+
EnabledStaticFileMiddlewarebool`xml:"-"`// The flag which enabled or disabled middleware for static-file route
0 commit comments