inlined write response in proxy