OdooJsonRpcClient icon indicating copy to clipboard operation
OdooJsonRpcClient copied to clipboard

Add support for http message handlers through configuration

Open ashGHub opened this issue 10 months ago • 2 comments

Key Changes:

The primary change involves extracting the HTTP client initialization from the Odoo class and facilitating the creation of an HTTP client from a custom HTTP client factory.

Benefits:

  1. Enhanced flexibility in customizing HTTP request and response handling within the OdooClient.
  2. Centralized authentication logic and request modification capabilities through the custom HTTP message handler.
  3. Improved debugging and auditing capabilities via HTTP request and response logging.
  4. Streamlined error handling for specific error conditions returned by the Odoo server.
  5. Facilitated integration with various middleware components for cross-cutting concerns.

This pull request aims to improve the OdooClient class by supporting HTTP message handlers, enabling greater customization and versatility in interacting with the Odoo server.

ashGHub avatar Apr 27 '24 08:04 ashGHub

Can you update Readme?

patricoos avatar Jun 27 '24 13:06 patricoos

Can you update Readme?

It's done

ashGHub avatar Jul 19 '24 18:07 ashGHub

@patricoos any hope this being merged. I am looking for something like that. thanks @ashGHub

yididiyag avatar Oct 30 '24 13:10 yididiyag