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
It's really cool that you can specify a file to use with post requests from the command line! However, currently, one can only specify the -p, --post_file param using a bare filename (no path) which must exist in the same directory in which you are running bees (due to the scp command which assumes that the destination of the file on the bee file system is ~/%(post_file)s). It would be more ergonomic to be able to specify a relative or absolute path to a file, and have that file read and sent to the bee swarm.
I think the line which needs to be changed is the one which tells ab where to find the file:
It's really cool that you can specify a file to use with post requests from the command line! However, currently, one can only specify the
-p, --post_file
param using a bare filename (no path) which must exist in the same directory in which you are runningbees
(due to thescp
command which assumes that the destination of the file on the bee file system is~/%(post_file)s
). It would be more ergonomic to be able to specify a relative or absolute path to a file, and have that file read and sent to the bee swarm.I think the line which needs to be changed is the one which tells
ab
where to find the file:beeswithmachineguns/beeswithmachineguns/bees.py
Line 447 in 4b8783d
The text was updated successfully, but these errors were encountered: