How to set pub.client:http parameters when it is a file

Please check this document and this post and let us know if you need any more information besides them.