bruno icon indicating copy to clipboard operation
bruno copied to clipboard

[Bug] Missing headers from collection.bru file in "Generate code" function

Open giuseppemilicia opened this issue 2 years ago • 3 comments

I am experiencing a bug in the "Generate code" function. The generated code does not include the headers set at the collection level, as specified in the collection.bru file.

giuseppemilicia avatar Nov 10 '23 10:11 giuseppemilicia

Just chiming in that this is an issue. For example, if you generate a curl request, the headers / authorization must be included. As it is, you cannot use that curl request that you've generated.

jcbeck37 avatar May 09 '24 17:05 jcbeck37

@Its-treason is it already released?

melnikaite avatar Aug 13 '24 16:08 melnikaite

@Its-treason is it already released?

Hey @melnikaite, if you mean the commit, I referenced this issue: This will not be released to Bruno, it's only available to my Fork. I have rewriting how requests are executed, and this logic is used for generating code in my fork. But the Bruno maintainer is not really interested in my rewrite.

Its-treason avatar Aug 13 '24 16:08 Its-treason