@@ -233,25 +233,32 @@ The majority of the proxy's functionality occurs within a chain of middlewares.
233
233
- OIDC integration
234
234
- Places auth token payload in request state
235
235
236
- 2 . ** ` BuildCql2FilterMiddleware ` **
236
+ 2 . ** ` Cql2BuildFilterMiddleware ` **
237
237
238
238
- Builds CQL2 filters based on request context/state
239
239
- Places [ CQL2 expression] ( http://developmentseed.org/cql2-rs/latest/python/#cql2.Expr ) in request state
240
240
241
- 3 . ** ` ApplyCql2FilterMiddleware ` **
241
+ 3 . ** ` Cql2ApplyFilterQueryStringMiddleware ` **
242
+
243
+ - Retrieves [ CQL2 expression] ( http://developmentseed.org/cql2-rs/latest/python/#cql2.Expr ) from request state
244
+ - Augments ` GET ` requests with CQL2 filter by appending to querystring
245
+
246
+ 4 . ** ` Cql2ApplyFilterBodyMiddleware ` **
247
+
248
+ - Retrieves [ CQL2 expression] ( http://developmentseed.org/cql2-rs/latest/python/#cql2.Expr ) from request state
249
+ - Augments `` POST`/`PUT`/`PATCH `` requests with CQL2 filter by modifying body
250
+
251
+ 5 . ** ` Cql2ValidateResponseBodyMiddleware ` **
242
252
243
253
- Retrieves [ CQL2 expression] ( http://developmentseed.org/cql2-rs/latest/python/#cql2.Expr ) from request state
244
- - Augments request with CQL2 filter:
245
- - Modifies query strings for ` GET ` requests
246
- - Modifies JSON bodies for ` POST ` /` PUT ` /` PATCH ` requests
247
254
- Validates response against CQL2 filter for non-filterable endpoints
248
255
249
- 4 . ** ` OpenApiMiddleware ` **
256
+ 6 . ** ` OpenApiMiddleware ` **
250
257
251
258
- Modifies OpenAPI specification based on endpoint configuration, adding security requirements
252
259
- Only active if ` openapi_spec_endpoint ` is configured
253
260
254
- 5 . ** ` AddProcessTimeHeaderMiddleware ` **
261
+ 7 . ** ` AddProcessTimeHeaderMiddleware ` **
255
262
- Adds processing time headers
256
263
- Useful for monitoring/debugging
257
264
0 commit comments