@@ -132,24 +132,24 @@ pub struct PlexContext {
132
132
pub screen_resolution : Vec < Resolution > ,
133
133
#[ salvo( extract( rename = "X-Plex-Device-Screen-Resolution" ) ) ]
134
134
pub screen_resolution_original : Option < String > ,
135
- #[ salvo( extract( rename = "x-plex-client-capabilities" ) ) ]
135
+ #[ salvo( extract( rename = "X-Plex-Client-Capabilities" , alias = " x-plex-client-capabilities") ) ]
136
136
pub client_capabilities : Option < String > ,
137
137
#[ salvo( extract( rename = "X-Plex-Product" ) ) ]
138
138
pub product : Option < String > ,
139
139
#[ salvo( extract( rename = "X-Plex-Version" ) ) ]
140
140
pub version : Option < String > ,
141
141
pub count : Option < i32 > ,
142
- #[ salvo( extract( rename = "X-Plex-Client-Identifier" ) ) ]
142
+ #[ salvo( extract( rename = "X-Plex-Client-Identifier" , alias = "x-plex-client-identifier" ) ) ]
143
143
pub client_identifier : Option < String > ,
144
- #[ salvo( extract( rename = "X-Plex-Session-Id" ) ) ]
144
+ #[ salvo( extract( rename = "X-Plex-Session-Id" , alias = "x-plex-session-id" ) ) ]
145
145
pub session_id : Option < String > ,
146
- #[ salvo( extract( rename = "X-Plex-Session-Identifier" ) ) ]
146
+ #[ salvo( extract( rename = "X-Plex-Session-Identifier" , alias = "x-plex-session-identifier" ) ) ]
147
147
pub session_identifier : Option < String > ,
148
- #[ salvo( extract( rename = "X-Plex-Playback-Session-Id" ) ) ]
148
+ #[ salvo( extract( rename = "X-Plex-Playback-Session-Id" , alias = "x-plex-playback-session-id" ) ) ]
149
149
pub playback_session_id : Option < String > ,
150
150
#[ salvo( extract( rename = "X-Plex-Playback-Id" ) ) ]
151
151
pub playback_id : Option < String > ,
152
- #[ salvo( extract( rename = "X-Plex-Token" ) ) ]
152
+ #[ salvo( extract( rename = "X-Plex-Token" , alias = "x-plex-token" ) ) ]
153
153
pub token : Option < String > ,
154
154
#[ salvo( extract( rename = "X-Plex-Platform-Version" ) ) ]
155
155
pub platform_version : Option < String > ,
@@ -181,11 +181,11 @@ pub struct PlexContext {
181
181
pub include_advanced : bool ,
182
182
#[ salvo( extract( rename = "X-Forwarded-For" , alias = "X-Real-Ip" ) ) ]
183
183
pub forwarded_for : Option < String > ,
184
- #[ salvo( extract( rename = "X-Forwarded-Proto" ) ) ]
184
+ #[ salvo( extract( rename = "X-Forwarded-Proto" , alias = "x-forwared-proto" ) ) ]
185
185
pub forwarded_proto : Option < String > ,
186
- #[ salvo( extract( rename = "x-forwarded -host" ) ) ]
186
+ #[ salvo( extract( rename = "X-Forwarded-Host" , alias = "x-forwared -host") ) ]
187
187
pub forwarded_host : Option < String > ,
188
- #[ salvo( extract( rename = "X-Forwarded-Port" ) ) ]
188
+ #[ salvo( extract( rename = "X-Forwarded-Port" , alias = "x-forwared-port" ) ) ]
189
189
pub forwarded_port : Option < String > ,
190
190
#[ serde( default = "default_as_false" , deserialize_with = "bool_from_int" ) ]
191
191
#[ salvo( extract( rename = "excludeAllLeaves" ) ) ]
0 commit comments