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
Although it doesn't support regex, my understanding is that this package in conjunction with x/text/transform can efficiently perform text substitutions in streams: https://github.com/icholy/replace - it does not require buffering the entire body in memory.
This could be handy for production use cases requiring literal replacements in the response body.
The text was updated successfully, but these errors were encountered:
Although it doesn't support regex, my understanding is that this package in conjunction with
x/text/transform
can efficiently perform text substitutions in streams: https://github.com/icholy/replace - it does not require buffering the entire body in memory.This could be handy for production use cases requiring literal replacements in the response body.
The text was updated successfully, but these errors were encountered: