use contants, mime types and more meangingfull 'update_record' method name

3 jobs for !133 with feature/chunking_trajectory in 11 minutes and 3 seconds (queued for 3 seconds)
detached
Status Job ID Name Coverage
  Review
failed #397039
osdu-small
trigger-trusted-tests

00:11:03

failed #396936
osdu-small
trigger-trusted-tests

00:02:40

passed #396986
osdu-small
trigger-trusted-tests

00:13:06

 
Name Stage Failure
failed
trigger-trusted-tests Review
Pipeline has been in state 'running' for 9.8 min, waiting for completion
Pipeline has been in state 'running' for 10.0 min, waiting for completion
Pipeline has been in state 'running' for 10.2 min, waiting for completion
Pipeline has been in state 'running' for 10.4 min, waiting for completion
Pipeline has been in state 'failed' for 2 sec, waiting for completion
Pipeline completed in state failed in 10.4 min
Pipeline status is not 'success', exiting with error status
Cleaning up file based variables
ERROR: Job failed: exit code 1